Merge branch 'bjorn-pci-root-v4-2.6.35' into release
[firefly-linux-kernel-4.4.55.git] / arch / x86 / pci / acpi.c
index 31930fd30ea95a36232c2ed7df0a6a1f97147b1f..9dcf43d7d0c091e20550c7e393e5f055307e3d08 100644 (file)
@@ -224,8 +224,11 @@ res_alloc_fail:
        return;
 }
 
-struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_device *device, int domain, int busnum)
+struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_pci_root *root)
 {
+       struct acpi_device *device = root->device;
+       int domain = root->segment;
+       int busnum = root->secondary.start;
        struct pci_bus *bus;
        struct pci_sysdata *sd;
        int node;