powerpc/pci: Clean up direct access to sysdata by FSL platforms
authorKumar Gala <galak@kernel.crashing.org>
Thu, 30 Apr 2009 03:10:08 +0000 (03:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:22 +0000 (15:44 +1000)
commit8206a110cbaa029570d037c0aeafeb181443b6b8
treeee9cd4c151536a90a7eda080fae123db75f1b922
parent19afa40797a3b392b64bf0b30b46e62001eeb66f
powerpc/pci: Clean up direct access to sysdata by FSL platforms

We shouldn't directly access sysdata to get the pci_controller.  Instead
use pci_bus_to_host() for this purpose.  In the future we might have
sysdata be a device_node to match ppc64 and unify the code between ppc32
& ppc64.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c
This page took 0.026708 seconds and 5 git commands to generate.