OSDN Git Service

powerpc/pci: Clean up direct access to sysdata by celleb platforms
authorKumar Gala <galak@kernel.crashing.org>
Thu, 30 Apr 2009 03:10:15 +0000 (03:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:24 +0000 (15:44 +1000)
commit58513dc40d8e01f0c0ccea4cdcbc32e9dcee62fd
tree585debc810954d0cac80619c85d5a5ab50ceda41
parent2f52297665d2ebfaa24406003cf9e5a7b635f47d
powerpc/pci: Clean up direct access to sysdata by celleb platforms

We shouldn't directly access sysdata to get the device node to just
go get the pci_controller.  We can call pci_bus_to_host() for this
purpose.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/celleb_pci.c
arch/powerpc/platforms/cell/celleb_scc_epci.c
arch/powerpc/platforms/cell/celleb_scc_pciex.c