mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]> Reviewed-by: Kenji Kaneshige <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
6ad95513d6
commit
57283776b2
4 changed files with 10 additions and 5 deletions
|
|
@ -104,8 +104,7 @@ int acpi_pci_bind_root(struct acpi_device *device);
|
|||
|
||||
/* Arch-defined function to add a bus to the system */
|
||||
|
||||
struct pci_bus *pci_acpi_scan_root(struct acpi_device *device, int domain,
|
||||
int bus);
|
||||
struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
|
||||
void pci_acpi_crs_quirks(void);
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue