Skip to content

Commit

Permalink
pata_cs5520: Fix probe bug regression introduced in 2.6.22
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linux Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jul 20, 2007
1 parent 6a860c9 commit 8c6b065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_cs5520.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c6b065

Please sign in to comment.