diff options
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 7c37379ea9b1..fa12ae42d98c 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -1477,11 +1477,14 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus) | |||
1477 | pcibios_allocate_bus_resources(bus); | 1477 | pcibios_allocate_bus_resources(bus); |
1478 | pcibios_claim_one_bus(bus); | 1478 | pcibios_claim_one_bus(bus); |
1479 | 1479 | ||
1480 | /* Fixup EEH */ | ||
1481 | eeh_add_device_tree_late(bus); | ||
1482 | |||
1480 | /* Add new devices to global lists. Register in proc, sysfs. */ | 1483 | /* Add new devices to global lists. Register in proc, sysfs. */ |
1481 | pci_bus_add_devices(bus); | 1484 | pci_bus_add_devices(bus); |
1482 | 1485 | ||
1483 | /* Fixup EEH */ | 1486 | /* sysfs files should only be added after devices are added */ |
1484 | eeh_add_device_tree_late(bus); | 1487 | eeh_add_sysfs_files(bus); |
1485 | } | 1488 | } |
1486 | EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus); | 1489 | EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus); |
1487 | 1490 | ||