diff options
Diffstat (limited to 'arch/mips/pci/pci-legacy.c')
-rw-r--r-- | arch/mips/pci/pci-legacy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-legacy.c b/arch/mips/pci/pci-legacy.c index 3a84f6c0c840..174575a9a112 100644 --- a/arch/mips/pci/pci-legacy.c +++ b/arch/mips/pci/pci-legacy.c | |||
@@ -86,8 +86,7 @@ static void pcibios_scanbus(struct pci_controller *hose) | |||
86 | hose->mem_resource, hose->mem_offset); | 86 | hose->mem_resource, hose->mem_offset); |
87 | pci_add_resource_offset(&resources, | 87 | pci_add_resource_offset(&resources, |
88 | hose->io_resource, hose->io_offset); | 88 | hose->io_resource, hose->io_offset); |
89 | pci_add_resource_offset(&resources, | 89 | pci_add_resource(&resources, hose->busn_resource); |
90 | hose->busn_resource, hose->busn_offset); | ||
91 | bus = pci_scan_root_bus(NULL, next_busno, hose->pci_ops, hose, | 90 | bus = pci_scan_root_bus(NULL, next_busno, hose->pci_ops, hose, |
92 | &resources); | 91 | &resources); |
93 | hose->bus = bus; | 92 | hose->bus = bus; |