]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/pci/probe.c
Merge branch 'for-2.6.31' of git://fieldses.org/git/linux-nfsd
[mv-sheeva.git] / drivers / pci / probe.c
index b962326e3d95a715e1634d0d1f98be7a84a29741..40e75f6a505622fb124085aea0e207bfa4107eae 100644 (file)
@@ -289,7 +289,7 @@ void __devinit pci_read_bridge_bases(struct pci_bus *child)
        struct resource *res;
        int i;
 
-       if (!child->parent)     /* It's a host bus, nothing to read */
+       if (pci_is_root_bus(child))     /* It's a host bus, nothing to read */
                return;
 
        if (dev->transparent) {