powerpc/pci: clean up direct access to sysdata by iseries platform
authorKumar Gala <galak@kernel.crashing.org>
Mon, 18 May 2009 02:56:27 +0000 (02:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:26 +0000 (15:44 +1000)
commitd7b41b1fdf162d3e26cb73bf2cf14816918e371e
treec20b64c299502473653f5f6d1f33537d87c75678
parent80947e7c99c29ce3a78bdc1933b310468455a82f
powerpc/pci: clean up direct access to sysdata by iseries platform

We shouldn't directly access sysdata to get the device node.  We should
be calling pci_device_to_OF_node().

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/iseries/iommu.c
arch/powerpc/platforms/iseries/pci.c