diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-05-17 21:51:11 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-13 17:42:22 -0400 |
commit | b918c62e086b2130a7bae44110ca516ef10bfe5a (patch) | |
tree | e4aee0e76da9a6ddd2d787de63f4ae7ad4d10e59 /arch/microblaze/pci | |
parent | 92f02430934ca1c1e991a1ab3541880575042697 (diff) |
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/microblaze/pci')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index ed22bfc5db14..9b32483cd0c0 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -1506,10 +1506,10 @@ static void __devinit pcibios_scan_phb(struct pci_controller *hose) | |||
1506 | pci_free_resource_list(&resources); | 1506 | pci_free_resource_list(&resources); |
1507 | return; | 1507 | return; |
1508 | } | 1508 | } |
1509 | bus->secondary = hose->first_busno; | 1509 | bus->busn_res.start = hose->first_busno; |
1510 | hose->bus = bus; | 1510 | hose->bus = bus; |
1511 | 1511 | ||
1512 | hose->last_busno = bus->subordinate; | 1512 | hose->last_busno = bus->busn_res.end; |
1513 | } | 1513 | } |
1514 | 1514 | ||
1515 | static int __init pcibios_init(void) | 1515 | static int __init pcibios_init(void) |