summaryrefslogtreecommitdiff
path: root/arch/i386/pci/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/pci/legacy.c')
-rw-r--r--arch/i386/pci/legacy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/pci/legacy.c b/arch/i386/pci/legacy.c
index 1492e375386..149a9588c25 100644
--- a/arch/i386/pci/legacy.c
+++ b/arch/i386/pci/legacy.c
@@ -45,6 +45,8 @@ static int __init pci_legacy_init(void)
printk("PCI: Probing PCI hardware\n");
pci_root_bus = pcibios_scan_root(0);
+ if (pci_root_bus)
+ pci_bus_add_devices(pci_root_bus);
pcibios_fixup_peer_bridges();