Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c6b065b authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

pata_cs5520: Fix probe bug regression introduced in 2.6.22

parent 6a860c97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;