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>
Showing
- arch/powerpc/platforms/cell/celleb_pci.c 2 additions, 8 deletionsarch/powerpc/platforms/cell/celleb_pci.c
- arch/powerpc/platforms/cell/celleb_scc_epci.c 2 additions, 11 deletionsarch/powerpc/platforms/cell/celleb_scc_epci.c
- arch/powerpc/platforms/cell/celleb_scc_pciex.c 2 additions, 10 deletionsarch/powerpc/platforms/cell/celleb_scc_pciex.c
Loading
Please register or sign in to comment