diff options
Diffstat (limited to 'arch/m68k/coldfire/pci.c')
-rw-r--r-- | arch/m68k/coldfire/pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/coldfire/pci.c b/arch/m68k/coldfire/pci.c index df9679238b6d..821de928dc3f 100644 --- a/arch/m68k/coldfire/pci.c +++ b/arch/m68k/coldfire/pci.c | |||
@@ -313,12 +313,16 @@ static int __init mcf_pci_init(void) | |||
313 | schedule_timeout(msecs_to_jiffies(200)); | 313 | schedule_timeout(msecs_to_jiffies(200)); |
314 | 314 | ||
315 | rootbus = pci_scan_bus(0, &mcf_pci_ops, NULL); | 315 | rootbus = pci_scan_bus(0, &mcf_pci_ops, NULL); |
316 | if (!rootbus) | ||
317 | return -ENODEV; | ||
318 | |||
316 | rootbus->resource[0] = &mcf_pci_io; | 319 | rootbus->resource[0] = &mcf_pci_io; |
317 | rootbus->resource[1] = &mcf_pci_mem; | 320 | rootbus->resource[1] = &mcf_pci_mem; |
318 | 321 | ||
319 | pci_fixup_irqs(pci_common_swizzle, mcf_pci_map_irq); | 322 | pci_fixup_irqs(pci_common_swizzle, mcf_pci_map_irq); |
320 | pci_bus_size_bridges(rootbus); | 323 | pci_bus_size_bridges(rootbus); |
321 | pci_bus_assign_resources(rootbus); | 324 | pci_bus_assign_resources(rootbus); |
325 | pci_bus_add_devices(rootbus); | ||
322 | return 0; | 326 | return 0; |
323 | } | 327 | } |
324 | 328 | ||