PCI: Assign resources before drivers claim devices (pci_scan_root_bus())
[cascardo/linux.git] / arch / tile / kernel / pci.c
index 325df47..9475a74 100644 (file)
@@ -339,6 +339,8 @@ int __init pcibios_init(void)
                        struct pci_bus *next_bus;
                        struct pci_dev *dev;
 
+                       pci_bus_add_devices(root_bus);
+
                        list_for_each_entry(dev, &root_bus->devices, bus_list) {
                                /*
                                 * Find the PCI host controller, ie. the 1st