powerpc/pci: Clean up direct access to sysdata by RTAS
authorKumar Gala <galak@kernel.crashing.org>
Thu, 30 Apr 2009 03:10:14 +0000 (03:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:23 +0000 (15:44 +1000)
commit2f52297665d2ebfaa24406003cf9e5a7b635f47d
tree18d1f894cd993ca46f31d47c954dab2062cb5757
parent95272262aa43a85ad134c2ceeacb28e8b755ede1
powerpc/pci: Clean up direct access to sysdata by RTAS

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/kernel/rtas_pci.c