aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/85xx/pci.c')
-rw-r--r--arch/powerpc/platforms/85xx/pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/pci.c b/arch/powerpc/platforms/85xx/pci.c
index a25b3e77a7d2..8118417b7364 100644
--- a/arch/powerpc/platforms/85xx/pci.c
+++ b/arch/powerpc/platforms/85xx/pci.c
@@ -56,10 +56,9 @@ int __init mpc85xx_add_bridge(struct device_node *dev)
56 } 56 }
57 57
58 pci_assign_all_buses = 1; 58 pci_assign_all_buses = 1;
59 hose = pcibios_alloc_controller(); 59 hose = pcibios_alloc_controller(dev);
60 if (!hose) 60 if (!hose)
61 return -ENOMEM; 61 return -ENOMEM;
62 hose->arch_data = dev;
63 62
64 hose->first_busno = bus_range ? bus_range[0] : 0; 63 hose->first_busno = bus_range ? bus_range[0] : 0;
65 hose->last_busno = bus_range ? bus_range[1] : 0xff; 64 hose->last_busno = bus_range ? bus_range[1] : 0xff;