aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/bus.c')
-rw-r--r--drivers/pci/bus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c
index 999cc4088b5..3e1c135b174 100644
--- a/drivers/pci/bus.c
+++ b/drivers/pci/bus.c
@@ -158,6 +158,10 @@ void pci_bus_add_devices(struct pci_bus *bus)
158 dev_err(&dev->dev, 158 dev_err(&dev->dev,
159 "Error creating cpulistaffinity" 159 "Error creating cpulistaffinity"
160 " file, continuing...\n"); 160 " file, continuing...\n");
161
162 /* Create legacy_io and legacy_mem files for this bus */
163 pci_create_legacy_files(child_bus);
164
161 } 165 }
162 } 166 }
163} 167}