aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/86xx/pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-27 11:27:33 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 02:58:42 -0400
commit0b1d40c4d4dd8f276d8d9730204b3a0a17ab0d61 (patch)
treef73777caa266cd306a415d5f50abe9cb93f7fba5 /arch/powerpc/platforms/86xx/pci.c
parentdbf8471f5294b27ba9b6232ffc177dcd4e0a2fa5 (diff)
[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/86xx/pci.c')
-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)
145 */ 145 */
146 dev->transparent = 1; 146 dev->transparent = 1;
147 147
148 hose = pci_bus_to_hose(dev->bus->number); 148 hose = pci_bus_to_host(dev->bus);
149 if (!hose) { 149 if (!hose) {
150 printk(KERN_ERR "Can't find hose for bus %d\n", 150 printk(KERN_ERR "Can't find hose for bus %d\n",
151 dev->bus->number); 151 dev->bus->number);