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