|
@@ -157,8 +157,7 @@ static void dlpar_pci_add_bus(struct device_node *dn)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Scan below the new bridge */
|
|
/* Scan below the new bridge */
|
|
|
- if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE ||
|
|
|
|
|
- dev->hdr_type == PCI_HEADER_TYPE_CARDBUS)
|
|
|
|
|
|
|
+ if (pci_is_bridge(dev))
|
|
|
of_scan_pci_bridge(dev);
|
|
of_scan_pci_bridge(dev);
|
|
|
|
|
|
|
|
/* Map IO space for child bus, which may or may not succeed */
|
|
/* Map IO space for child bus, which may or may not succeed */
|