commit | 8456993ead5e64f5b755df6ac298757af4ceec59 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Thu Apr 30 03:10:11 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu May 21 15:44:23 2009 +1000 |
tree | e2542faefb194a53222a5d6fd323244e09fafb76 | |
parent | f159edaef31da2ba01511d1f7b2fe22bb048290f [diff] |
powerpc/pci: Clean up direct access to sysdata by CHRP 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>