Commit 5f8bcd20 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: remove usage of pci_for_each_dev_reverse() in

parent f9cfcb03
......@@ -880,7 +880,7 @@ void __init ide_scan_pcibus (int scan_direction)
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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment