This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / ppc / platforms / gemini_pci.c
index 9565609..17b251c 100644 (file)
@@ -15,7 +15,7 @@ void __init gemini_pcibios_fixup(void)
        int i;
        struct pci_dev *dev = NULL;
        
-       for_each_pci_dev(dev) {
+       while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
                for(i = 0; i < 6; i++) {
                        if (dev->resource[i].flags & IORESOURCE_IO) {
                                dev->resource[i].start |= (0xfe << 24);