summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_of_scan.c
diff options
context:
space:
mode:
authorYinghai Lu2012-05-18 03:51:11 +0200
committerBjorn Helgaas2012-06-13 23:42:22 +0200
commitb918c62e086b2130a7bae44110ca516ef10bfe5a (patch)
treee4aee0e76da9a6ddd2d787de63f4ae7ad4d10e59 /arch/powerpc/kernel/pci_of_scan.c
parentPCI: add busn_res in struct pci_bus (diff)
downloadkernel-qcow2-linux-b918c62e086b2130a7bae44110ca516ef10bfe5a.tar.gz
kernel-qcow2-linux-b918c62e086b2130a7bae44110ca516ef10bfe5a.tar.xz
kernel-qcow2-linux-b918c62e086b2130a7bae44110ca516ef10bfe5a.zip
PCI: replace struct pci_bus secondary/subordinate with busn_res
Replace the struct pci_bus secondary/subordinate members with the struct resource busn_res. Later we'll build a resource tree of these bus numbers. [bhelgaas: changelog] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/powerpc/kernel/pci_of_scan.c')
-rw-r--r--arch/powerpc/kernel/pci_of_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_of_scan.c b/arch/powerpc/kernel/pci_of_scan.c
index 89dde171a6fa..a36281aa98f3 100644
--- a/arch/powerpc/kernel/pci_of_scan.c
+++ b/arch/powerpc/kernel/pci_of_scan.c
@@ -240,7 +240,7 @@ void __devinit of_scan_pci_bridge(struct pci_dev *dev)
}
bus->primary = dev->bus->number;
- bus->subordinate = busrange[1];
+ bus->busn_res.end = busrange[1];
bus->bridge_ctl = 0;
/* parse ranges property */