diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index b962326e3d95a715e1634d0d1f98be7a84a29741..40e75f6a505622fb124085aea0e207bfa4107eae 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -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) {