kernel: update linux 3.2 to 3.2.15
[openwrt.git] / target / linux / brcm47xx / patches-3.2 / 000-pci-backport.patch
index b1eed44..ecedbcc 100644 (file)
        int busnum;
  };
  
-@@ -275,23 +275,20 @@ static void add_resources(struct pci_roo
+@@ -285,23 +285,20 @@ static void add_resources(struct pci_roo
                                 "ignoring host bridge window %pR (conflicts with %s %pR)\n",
                                 res, conflict->name, conflict);
                else
        acpi_walk_resources(device->handle, METHOD_NAME__CRS, count_resource,
                                &info);
        if (!info.res_num)
-@@ -300,7 +297,7 @@ get_current_resources(struct acpi_device
+@@ -310,7 +307,7 @@ get_current_resources(struct acpi_device
        size = sizeof(*info.res) * info.res_num;
        info.res = kmalloc(size, GFP_KERNEL);
        if (!info.res)
  
        info.name = kasprintf(GFP_KERNEL, "PCI Bus %04x:%02x", domain, busnum);
        if (!info.name)
-@@ -315,8 +312,6 @@ get_current_resources(struct acpi_device
+@@ -325,8 +322,6 @@ get_current_resources(struct acpi_device
  
  name_alloc_fail:
        kfree(info.res);
  }
  
  struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_pci_root *root)
-@@ -324,6 +319,7 @@ struct pci_bus * __devinit pci_acpi_scan
+@@ -334,6 +329,7 @@ struct pci_bus * __devinit pci_acpi_scan
        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;
-@@ -378,11 +374,15 @@ struct pci_bus * __devinit pci_acpi_scan
+@@ -388,11 +384,15 @@ struct pci_bus * __devinit pci_acpi_scan
                memcpy(bus->sysdata, sd, sizeof(*sd));
                kfree(sd);
        } else {