提交 8c6b065b 编写于 作者: A Alan Cox 提交者: Linus Torvalds

pata_cs5520: Fix probe bug regression introduced in 2.6.22

Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NLinux Torvalds <torvalds@linux-foundation.org>
上级 6a860c97
...@@ -275,7 +275,7 @@ static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi ...@@ -275,7 +275,7 @@ static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
static const int irq[] = { 14, 15 }; static const int irq[] = { 14, 15 };
struct ata_port *ap = host->ports[0]; struct ata_port *ap = host->ports[i];
if (ata_port_is_dummy(ap)) if (ata_port_is_dummy(ap))
continue; continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册