dect
/
linux-2.6
Archived
13
0
Fork 0

pata_cs5520: Fix probe bug regression introduced in 2.6.22

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linux Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Alan Cox 2007-07-20 15:36:31 +01:00 committed by Linus Torvalds
parent 6a860c979b
commit 8c6b065b79
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi
for (i = 0; i < 2; i++) {
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))
continue;