]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl/pci: Fix PCIe fixup regression
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Feb 2012 18:22:20 +0000 (18:22 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 16 Feb 2012 05:15:03 +0000 (16:15 +1100)
commit443067c3ee4aa61416969eb8b010792ee0ba59d3
tree817d08d8b06183bccb28e0c829213f1fceab3b3a
parent204aaf8abf733e83160d1079d59d07feff6ea371
powerpc/fsl/pci: Fix PCIe fixup regression

Upstream changes to the way PHB resources are registered
broke the resource fixup for FSL boards.

We can no longer rely on the resource pointer array for the PHB's
pci_bus structure, so let's leave it alone and go straight for
the PHB resources instead. This also makes the code generally
more readable.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c