diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_of_scan.c')
-rw-r--r-- | arch/powerpc/kernel/pci_of_scan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci_of_scan.c b/arch/powerpc/kernel/pci_of_scan.c index 89dde171a6fa..30378a19f65d 100644 --- a/arch/powerpc/kernel/pci_of_scan.c +++ b/arch/powerpc/kernel/pci_of_scan.c | |||
@@ -198,7 +198,6 @@ EXPORT_SYMBOL(of_create_pci_dev); | |||
198 | 198 | ||
199 | /** | 199 | /** |
200 | * of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes | 200 | * of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes |
201 | * @node: device tree node of bridge | ||
202 | * @dev: pci_dev structure for the bridge | 201 | * @dev: pci_dev structure for the bridge |
203 | * | 202 | * |
204 | * of_scan_bus() calls this routine for each PCI bridge that it finds, and | 203 | * of_scan_bus() calls this routine for each PCI bridge that it finds, and |
@@ -240,7 +239,7 @@ void __devinit of_scan_pci_bridge(struct pci_dev *dev) | |||
240 | } | 239 | } |
241 | 240 | ||
242 | bus->primary = dev->bus->number; | 241 | bus->primary = dev->bus->number; |
243 | bus->subordinate = busrange[1]; | 242 | pci_bus_insert_busn_res(bus, busrange[0], busrange[1]); |
244 | bus->bridge_ctl = 0; | 243 | bus->bridge_ctl = 0; |
245 | 244 | ||
246 | /* parse ranges property */ | 245 | /* parse ranges property */ |