]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/pci-common.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[karo-tx-linux.git] / arch / powerpc / kernel / pci-common.c
index eae0ee00ca25352fbdc555ffc1c10b8312bb8906..905a24bb7accebe3514a002d172f0e42c0b3a1f9 100644 (file)
@@ -1673,12 +1673,8 @@ void pcibios_scan_phb(struct pci_controller *hose)
        /* Configure PCI Express settings */
        if (bus && !pci_has_flag(PCI_PROBE_ONLY)) {
                struct pci_bus *child;
-               list_for_each_entry(child, &bus->children, node) {
-                       struct pci_dev *self = child->self;
-                       if (!self)
-                               continue;
-                       pcie_bus_configure_settings(child, self->pcie_mpss);
-               }
+               list_for_each_entry(child, &bus->children, node)
+                       pcie_bus_configure_settings(child);
        }
 }