ChangeSet 1.1315, 2003/06/05 12:04:12-07:00, greg@kroah.com [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); } }