diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-20 15:36:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-20 09:08:44 -0700 |
commit | 8c6b065b792061c2e471d530127f2348fd9d243d (patch) | |
tree | 8b8b8f2e8383d73e08e33a7e5ee31059d52feaf6 /drivers/ata/pata_cs5520.c | |
parent | 6a860c979b35469e4d77da781a96bdb2ca05ae64 (diff) | |
download | talos-obmc-linux-8c6b065b792061c2e471d530127f2348fd9d243d.tar.gz talos-obmc-linux-8c6b065b792061c2e471d530127f2348fd9d243d.zip |
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>
Diffstat (limited to 'drivers/ata/pata_cs5520.c')
-rw-r--r-- | drivers/ata/pata_cs5520.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cs5520.c b/drivers/ata/pata_cs5520.c index 6bf037d82b5a..7dc76e71bd55 100644 --- a/drivers/ata/pata_cs5520.c +++ b/drivers/ata/pata_cs5520.c @@ -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; |