Merge tag 'powerpc-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[platform/kernel/linux-starfive.git] / arch / powerpc / kernel / pci-common.c
index d0074ad..be10861 100644 (file)
@@ -1399,14 +1399,8 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus)
                        pci_assign_unassigned_bus_resources(bus);
        }
 
-       /* Fixup EEH */
-       eeh_add_device_tree_late(bus);
-
        /* Add new devices to global lists.  Register in proc, sysfs. */
        pci_bus_add_devices(bus);
-
-       /* sysfs files should only be added after devices are added */
-       eeh_add_sysfs_files(bus);
 }
 EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);