diff options
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/pci.c | 2 | ||||
-rw-r--r-- | arch/tile/kernel/pci_gx.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index 325df47f114d..9475a74cd53a 100644 --- a/arch/tile/kernel/pci.c +++ b/arch/tile/kernel/pci.c | |||
@@ -339,6 +339,8 @@ int __init pcibios_init(void) | |||
339 | struct pci_bus *next_bus; | 339 | struct pci_bus *next_bus; |
340 | struct pci_dev *dev; | 340 | struct pci_dev *dev; |
341 | 341 | ||
342 | pci_bus_add_devices(root_bus); | ||
343 | |||
342 | list_for_each_entry(dev, &root_bus->devices, bus_list) { | 344 | list_for_each_entry(dev, &root_bus->devices, bus_list) { |
343 | /* | 345 | /* |
344 | * Find the PCI host controller, ie. the 1st | 346 | * Find the PCI host controller, ie. the 1st |
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c index 2c95f37ebbed..b1df847d0686 100644 --- a/arch/tile/kernel/pci_gx.c +++ b/arch/tile/kernel/pci_gx.c | |||
@@ -1030,6 +1030,8 @@ int __init pcibios_init(void) | |||
1030 | alloc_mem_map_failed: | 1030 | alloc_mem_map_failed: |
1031 | break; | 1031 | break; |
1032 | } | 1032 | } |
1033 | |||
1034 | pci_bus_add_devices(root_bus); | ||
1033 | } | 1035 | } |
1034 | 1036 | ||
1035 | return 0; | 1037 | return 0; |