aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index a40043bd3257..4a55bf380957 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1088,6 +1088,10 @@ unsigned int __devinit pci_scan_child_bus(struct pci_bus *bus)
1088 return max; 1088 return max;
1089} 1089}
1090 1090
1091void __attribute__((weak)) set_pci_bus_resources_arch_default(struct pci_bus *b)
1092{
1093}
1094
1091struct pci_bus * pci_create_bus(struct device *parent, 1095struct pci_bus * pci_create_bus(struct device *parent,
1092 int bus, struct pci_ops *ops, void *sysdata) 1096 int bus, struct pci_ops *ops, void *sysdata)
1093{ 1097{
@@ -1147,6 +1151,8 @@ struct pci_bus * pci_create_bus(struct device *parent,
1147 b->resource[0] = &ioport_resource; 1151 b->resource[0] = &ioport_resource;
1148 b->resource[1] = &iomem_resource; 1152 b->resource[1] = &iomem_resource;
1149 1153
1154 set_pci_bus_resources_arch_default(b);
1155
1150 return b; 1156 return b;
1151 1157
1152dev_create_file_err: 1158dev_create_file_err: