aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-27 10:27:33 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:58:42 -0500
commit0b1d40c4d4dd8f276d8d9730204b3a0a17ab0d61 (patch)
treef73777caa266cd306a415d5f50abe9cb93f7fba5 /arch/powerpc/platforms
parent[POWERPC] Merge ppc32 and ppc64 pcibios_alloc_controller() prototypes (diff)
downloadlinux-dev-0b1d40c4d4dd8f276d8d9730204b3a0a17ab0d61.tar.xz
linux-dev-0b1d40c4d4dd8f276d8d9730204b3a0a17ab0d61.zip
[POWERPC] Move pci_bus_to_hose users to pci_bus_to_host
In the places we can move to using pci_bus_to_host, this allows us to make pci_bus_to_host static and remove its export. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/86xx/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/86xx/pci.c b/arch/powerpc/platforms/86xx/pci.c
index 5cb2188ee406..73cd5b05a84e 100644
--- a/arch/powerpc/platforms/86xx/pci.c
+++ b/arch/powerpc/platforms/86xx/pci.c
@@ -145,7 +145,7 @@ static void __devinit quirk_fsl_pcie_transparent(struct pci_dev *dev)
*/
dev->transparent = 1;
- hose = pci_bus_to_hose(dev->bus->number);
+ hose = pci_bus_to_host(dev->bus);
if (!hose) {
printk(KERN_ERR "Can't find hose for bus %d\n",
dev->bus->number);