summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-10-30 21:31:26 +0100
committerBjorn Helgaas <bhelgaas@google.com>2012-11-03 23:20:30 +0100
commite164f658f209b85566732bd85c62009237be0909 (patch)
tree1e8d6dcb7c5a5755a97b35ab82edbdda78a25404 /drivers/pci/setup-bus.c
parentPCI: Move pci_rescan_bus() back to probe.c (diff)
downloadlinux-e164f658f209b85566732bd85c62009237be0909.tar.xz
linux-e164f658f209b85566732bd85c62009237be0909.zip
PCI: Move out pci_enable_bridges out of assign_unsigned_bus_res
So could use assign_unassigned_bus_res pci root bus add Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
-rw-r--r--drivers/pci/setup-bus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 59e6c55c6d25..6d3591d57ea0 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -1566,6 +1566,4 @@ void pci_assign_unassigned_bus_resources(struct pci_bus *bus)
up_read(&pci_bus_sem);
__pci_bus_assign_resources(bus, &add_list, NULL);
BUG_ON(!list_empty(&add_list));
-
- pci_enable_bridges(bus);
}