Commit c626ff55 authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] ppc64: pmac_pci.c replace pci_find_device with pci_get_device

This patch is from Hanna Linder.

As pci_find_device is going away using the new for_each_pci_dev macro.
Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5502efcb
...@@ -663,7 +663,7 @@ void __init pmac_pcibios_fixup(void) ...@@ -663,7 +663,7 @@ void __init pmac_pcibios_fixup(void)
{ {
struct pci_dev *dev = NULL; struct pci_dev *dev = NULL;
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) for_each_pci_dev(dev)
pci_read_irq_line(dev); pci_read_irq_line(dev);
pci_fix_bus_sysdata(); pci_fix_bus_sysdata();
......
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