[PATCH] PCI: remove usage of pci_for_each_dev_reverse() in
drivers/ide/setup-pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
--- a/drivers/ide/setup-pci.c Thu Jun 5 13:52:52 2003
+++ b/drivers/ide/setup-pci.c Thu Jun 5 13:52:52 2003
@@ -880,7 +880,7 @@
ide_scan_pcidev(dev);
}
} else {
- pci_for_each_dev_reverse(dev) {
+ while ((dev = pci_find_device_reverse(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
ide_scan_pcidev(dev);
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/