X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fm68k%2Fatari%2Fhades-pci.c;h=8888debf71ecc739d595f69315fe3ffd3d1e426c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=151726c042e10885318d210c62522be4721da344;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/m68k/atari/hades-pci.c b/arch/m68k/atari/hades-pci.c index 151726c04..8888debf7 100644 --- a/arch/m68k/atari/hades-pci.c +++ b/arch/m68k/atari/hades-pci.c @@ -311,7 +311,7 @@ static void __init hades_fixup(int pci_modify) * 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) {