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

[PATCH] PCI: remove usage of pci_for_each_dev() in arch/ppc64/kernel/pSeries_pci.c

parent ba4c61cb
...@@ -533,11 +533,11 @@ extern void chrp_request_regions(void); ...@@ -533,11 +533,11 @@ extern void chrp_request_regions(void);
void __init pcibios_final_fixup(void) void __init pcibios_final_fixup(void)
{ {
struct pci_dev *dev; struct pci_dev *dev = NULL;
check_s7a(); check_s7a();
pci_for_each_dev(dev) while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
pci_read_irq_line(dev); pci_read_irq_line(dev);
chrp_request_regions(); chrp_request_regions();
......
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