diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2010-03-11 14:20:11 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-04 00:29:53 -0400 |
commit | 57283776b2b821ba4d592f61cad04d0293412740 (patch) | |
tree | ba4f2df20e9433767d2dd818c8e540c7a6741961 /drivers/acpi/pci_root.c | |
parent | 6ad95513d60096b569e4e4bd721420f03b57e4d4 (diff) |
ACPI: pci_root: pass acpi_pci_root to arch-specific scan
The acpi_pci_root structure contains all the individual items (acpi_device,
domain, bus number) we pass to pci_acpi_scan_root(), so just pass the
single acpi_pci_root pointer directly.
This will make it easier to add _CBA support later. For _CBA, we need the
entire downstream bus range, not just the base bus number. We have that in
the acpi_pci_root structure, so passing the pointer makes it available to
the arch-specific code.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index bf476fea97ab..680450c905b3 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -498,7 +498,7 @@ static int __devinit acpi_pci_root_add(struct acpi_device *device) | |||
498 | * PCI namespace does not get created until this call is made (and | 498 | * PCI namespace does not get created until this call is made (and |
499 | * thus the root bridge's pci_dev does not exist). | 499 | * thus the root bridge's pci_dev does not exist). |
500 | */ | 500 | */ |
501 | root->bus = pci_acpi_scan_root(device, segment, root->secondary.start); | 501 | root->bus = pci_acpi_scan_root(root); |
502 | if (!root->bus) { | 502 | if (!root->bus) { |
503 | printk(KERN_ERR PREFIX | 503 | printk(KERN_ERR PREFIX |
504 | "Bus %04x:%02x not present in PCI namespace\n", | 504 | "Bus %04x:%02x not present in PCI namespace\n", |