powerpc/pci: Clean up direct access to sysdata by powermac platforms
authorKumar Gala <galak@kernel.crashing.org>
Thu, 30 Apr 2009 03:10:13 +0000 (03:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:23 +0000 (15:44 +1000)
commit95272262aa43a85ad134c2ceeacb28e8b755ede1
treef67b70b4dcdba4b64607d3eca6f9059039fad183
parentbccd6f73f0a81b91655ab63d09bd60f7fbb3231b
powerpc/pci: Clean up direct access to sysdata by powermac platforms

We shouldn't directly access sysdata to get the device node but call
pci_bus_to_OF_node() for this purpose.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/setup.c