parisc: fix wrong assumption about bus->self
[linux-2.6.git] / drivers / parisc / dino.c
index d539d9df88e7648cca17415ac6ce1a8ceffd2513..f79266cd00e541892c1d452ff1ca5b431d6288f3 100644 (file)
@@ -587,7 +587,7 @@ dino_fixup_bus(struct pci_bus *bus)
                        bus->resource[i+1] = &res[i];
                }
 
-       } else if(bus->self) {
+       } else if (bus->parent) {
                int i;
 
                pci_read_bridge_bases(bus);