diff options
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/tsi108_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c index 298e2dd34e89..90db8a720fed 100644 --- a/arch/powerpc/sysdev/tsi108_pci.c +++ b/arch/powerpc/sysdev/tsi108_pci.c | |||
@@ -221,13 +221,12 @@ int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary) | |||
221 | " bus 0\n", dev->full_name); | 221 | " bus 0\n", dev->full_name); |
222 | } | 222 | } |
223 | 223 | ||
224 | hose = pcibios_alloc_controller(); | 224 | hose = pcibios_alloc_controller(dev); |
225 | 225 | ||
226 | if (!hose) { | 226 | if (!hose) { |
227 | printk("PCI Host bridge init failed\n"); | 227 | printk("PCI Host bridge init failed\n"); |
228 | return -ENOMEM; | 228 | return -ENOMEM; |
229 | } | 229 | } |
230 | hose->arch_data = dev; | ||
231 | 230 | ||
232 | hose->first_busno = bus_range ? bus_range[0] : 0; | 231 | hose->first_busno = bus_range ? bus_range[0] : 0; |
233 | hose->last_busno = bus_range ? bus_range[1] : 0xff; | 232 | hose->last_busno = bus_range ? bus_range[1] : 0xff; |