Commit d0ee7865 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k: hades-pci.c: replace pci_find_device() with pci_get_device()

As pci_find_device() is going away I have replaced this call with
pci_get_device().
Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0f721801
...@@ -311,7 +311,7 @@ static void __init hades_fixup(int pci_modify) ...@@ -311,7 +311,7 @@ static void __init hades_fixup(int pci_modify)
* Go through all devices, fixing up irqs as we see fit: * Go through all devices, fixing up irqs as we see fit:
*/ */
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
{ {
if (dev->class >> 16 != PCI_BASE_CLASS_BRIDGE) if (dev->class >> 16 != PCI_BASE_CLASS_BRIDGE)
{ {
......
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