diff options
-rw-r--r-- | drivers/pci/host/pci-xgene.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c index 142a1669dd82..1a6108788f6f 100644 --- a/drivers/pci/host/pci-xgene.c +++ b/drivers/pci/host/pci-xgene.c | |||
@@ -635,7 +635,7 @@ static int xgene_pcie_probe_bridge(struct platform_device *pdev) | |||
635 | struct device_node *dn = dev->of_node; | 635 | struct device_node *dn = dev->of_node; |
636 | struct xgene_pcie_port *port; | 636 | struct xgene_pcie_port *port; |
637 | resource_size_t iobase = 0; | 637 | resource_size_t iobase = 0; |
638 | struct pci_bus *bus; | 638 | struct pci_bus *bus, *child; |
639 | int ret; | 639 | int ret; |
640 | LIST_HEAD(res); | 640 | LIST_HEAD(res); |
641 | 641 | ||
@@ -678,6 +678,8 @@ static int xgene_pcie_probe_bridge(struct platform_device *pdev) | |||
678 | 678 | ||
679 | pci_scan_child_bus(bus); | 679 | pci_scan_child_bus(bus); |
680 | pci_assign_unassigned_bus_resources(bus); | 680 | pci_assign_unassigned_bus_resources(bus); |
681 | list_for_each_entry(child, &bus->children, node) | ||
682 | pcie_bus_configure_settings(child); | ||
681 | pci_bus_add_devices(bus); | 683 | pci_bus_add_devices(bus); |
682 | return 0; | 684 | return 0; |
683 | 685 | ||