diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/host/pci-versatile.c | 1 | ||||
-rw-r--r-- | drivers/pci/probe.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c index 1ec694a52379..e3a2450db2b8 100644 --- a/drivers/pci/host/pci-versatile.c +++ b/drivers/pci/host/pci-versatile.c | |||
@@ -214,6 +214,7 @@ static int versatile_pci_probe(struct platform_device *pdev) | |||
214 | 214 | ||
215 | pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); | 215 | pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); |
216 | pci_assign_unassigned_bus_resources(bus); | 216 | pci_assign_unassigned_bus_resources(bus); |
217 | pci_bus_add_devices(bus); | ||
217 | 218 | ||
218 | return 0; | 219 | return 0; |
219 | } | 220 | } |
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 88604f29d140..8ef0375ea314 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -2087,7 +2087,6 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, int bus, | |||
2087 | if (!found) | 2087 | if (!found) |
2088 | pci_bus_update_busn_res_end(b, max); | 2088 | pci_bus_update_busn_res_end(b, max); |
2089 | 2089 | ||
2090 | pci_bus_add_devices(b); | ||
2091 | return b; | 2090 | return b; |
2092 | } | 2091 | } |
2093 | EXPORT_SYMBOL(pci_scan_root_bus); | 2092 | EXPORT_SYMBOL(pci_scan_root_bus); |