Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8c6b065b792061c2e471d530127f2348fd9d243d Commit: 8c6b065b792061c2e471d530127f2348fd9d243d Parent: 6a860c979b35469e4d77da781a96bdb2ca05ae64 Author: Alan Cox <[EMAIL PROTECTED]> AuthorDate: Fri Jul 20 15:36:31 2007 +0100 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri Jul 20 09:08:44 2007 -0700
pata_cs5520: Fix probe bug regression introduced in 2.6.22 Signed-off-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Linux Torvalds <[EMAIL PROTECTED]> --- 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 6bf037d..7dc76e7 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html