diff options
author | linas@austin.ibm.com <linas@austin.ibm.com> | 2005-12-01 18:56:14 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:17 -0800 |
commit | d681db4aed4453c7d34adfbb64956271186514e9 (patch) | |
tree | dacc3bb27c198bbae2740d8270ad8c37d9ba0124 /drivers/pci/hotplug/rpadlpar_core.c | |
parent | 81745512c6bb78fc78265b881206b3f6800dd09f (diff) | |
download | kernel_samsung_smdk4412-d681db4aed4453c7d34adfbb64956271186514e9.zip kernel_samsung_smdk4412-d681db4aed4453c7d34adfbb64956271186514e9.tar.gz kernel_samsung_smdk4412-d681db4aed4453c7d34adfbb64956271186514e9.tar.bz2 |
[PATCH] PCI Hotplug/powerpc: remove duplicated code
The RPAPHP code contains a routine that duplicates some existing code.
This patch removes the rpaphp version of the code.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpadlpar_core.c')
-rw-r--r-- | drivers/pci/hotplug/rpadlpar_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c index cc03609..0173641 100644 --- a/drivers/pci/hotplug/rpadlpar_core.c +++ b/drivers/pci/hotplug/rpadlpar_core.c @@ -154,7 +154,8 @@ static struct pci_dev *dlpar_pci_add_bus(struct device_node *dn) struct pci_controller *phb = pdn->phb; struct pci_dev *dev = NULL; - rpaphp_eeh_init_nodes(dn); + eeh_add_device_tree_early(dn); + /* Add EADS device to PHB bus, adding new entry to bus->devices */ dev = of_create_pci_dev(dn, phb->bus, pdn->devfn); if (!dev) { |