]> 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)
commit5d1ad0c232151e031ff485400e5f4ced980cac5b
tree817d08d8b06183bccb28e0c829213f1fceab3b3a
parentdfad66f93374af289ece52e948f3618f26d43467
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