diff options
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 7d22a675fe1a..2b4a9a4db7d9 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -1674,12 +1674,8 @@ void pcibios_scan_phb(struct pci_controller *hose) | |||
1674 | /* Configure PCI Express settings */ | 1674 | /* Configure PCI Express settings */ |
1675 | if (bus && !pci_has_flag(PCI_PROBE_ONLY)) { | 1675 | if (bus && !pci_has_flag(PCI_PROBE_ONLY)) { |
1676 | struct pci_bus *child; | 1676 | struct pci_bus *child; |
1677 | list_for_each_entry(child, &bus->children, node) { | 1677 | list_for_each_entry(child, &bus->children, node) |
1678 | struct pci_dev *self = child->self; | 1678 | pcie_bus_configure_settings(child); |
1679 | if (!self) | ||
1680 | continue; | ||
1681 | pcie_bus_configure_settings(child, self->pcie_mpss); | ||
1682 | } | ||
1683 | } | 1679 | } |
1684 | } | 1680 | } |
1685 | 1681 | ||