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)
commit13635dfdc6aa8d2890e02dc441decfcb4ae63e14
tree817d08d8b06183bccb28e0c829213f1fceab3b3a
parent40c8cefaaf12734327db7199a56e60058d98e7b6
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