vserver 1.9.5.x5
[linux-2.6.git] / arch / m68k / atari / hades-pci.c
index 151726c..8888deb 100644 (file)
@@ -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)
                {