powerpc/pci: Clean up direct access to sysdata on tsi108 platforms
authorKumar Gala <galak@kernel.crashing.org>
Thu, 30 Apr 2009 03:10:12 +0000 (03:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:23 +0000 (15:44 +1000)
commitbccd6f73f0a81b91655ab63d09bd60f7fbb3231b
tree2b833a389ca0e9599ad834e5c63891b083cf9ceb
parent8456993ead5e64f5b755df6ac298757af4ceec59
powerpc/pci: Clean up direct access to sysdata on tsi108 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/tsi108_pci.c