From: Kumar Gala Date: Thu, 30 Apr 2009 03:10:11 +0000 (+0000) Subject: powerpc/pci: Clean up direct access to sysdata by CHRP platforms X-Git-Tag: v2.6.31-rc1~331^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8456993ead5e64f5b755df6ac298757af4ceec59;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed