diff options
Diffstat (limited to 'arch/tile/kernel/pci.c')
-rw-r--r-- | arch/tile/kernel/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index 0fdd99d0d8b..33c10864d2f 100644 --- a/arch/tile/kernel/pci.c +++ b/arch/tile/kernel/pci.c | |||
@@ -369,7 +369,7 @@ int __init pcibios_init(void) | |||
369 | */ | 369 | */ |
370 | if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && | 370 | if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && |
371 | (PCI_SLOT(dev->devfn) == 0)) { | 371 | (PCI_SLOT(dev->devfn) == 0)) { |
372 | next_bus = dev->busn_res.end; | 372 | next_bus = dev->subordinate; |
373 | controllers[i].mem_resources[0] = | 373 | controllers[i].mem_resources[0] = |
374 | *next_bus->resource[0]; | 374 | *next_bus->resource[0]; |
375 | controllers[i].mem_resources[1] = | 375 | controllers[i].mem_resources[1] = |