diff options
Diffstat (limited to 'arch/x86/pci/common.c')
-rw-r--r-- | arch/x86/pci/common.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index f80ece51305d..2202b6257b82 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -142,10 +142,6 @@ static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev) | |||
142 | } | 142 | } |
143 | } | 143 | } |
144 | 144 | ||
145 | void __attribute__((weak)) set_pci_bus_resources_arch_default(struct pci_bus *b) | ||
146 | { | ||
147 | } | ||
148 | |||
149 | /* | 145 | /* |
150 | * Called after each bus is probed, but before its children | 146 | * Called after each bus is probed, but before its children |
151 | * are examined. | 147 | * are examined. |
@@ -155,7 +151,9 @@ void __devinit pcibios_fixup_bus(struct pci_bus *b) | |||
155 | { | 151 | { |
156 | struct pci_dev *dev; | 152 | struct pci_dev *dev; |
157 | 153 | ||
158 | set_pci_bus_resources_arch_default(b); | 154 | /* root bus? */ |
155 | if (!b->parent) | ||
156 | x86_pci_root_bus_res_quirks(b); | ||
159 | pci_read_bridge_bases(b); | 157 | pci_read_bridge_bases(b); |
160 | list_for_each_entry(dev, &b->devices, bus_list) | 158 | list_for_each_entry(dev, &b->devices, bus_list) |
161 | pcibios_fixup_device_resources(dev); | 159 | pcibios_fixup_device_resources(dev); |