diff options
| author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-05-03 01:41:38 -0400 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 07:54:24 -0400 |
| commit | 3773dd258e91e1e14d95cdf17b9d83a1a7b27af1 (patch) | |
| tree | 92011e57b385072cf6fa7af9f1e12fdc7533fde5 /arch/powerpc/platforms/pseries | |
| parent | bd251b893d46240fc12d9fa9316d9ea6ec2b69a7 (diff) | |
powerpc/pci: Rename pcibios_find_pci_bus()
This renames pcibios_find_pci_bus() to pci_find_bus_by_node() to
avoid conflicts with those PCI subsystem weak function names, which
have prefix "pcibios". No logical changes introduced.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
| -rw-r--r-- | arch/powerpc/platforms/pseries/pci_dlpar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/pseries/pci_dlpar.c b/arch/powerpc/platforms/pseries/pci_dlpar.c index 5d4a3df59d0c..aee22b4b6174 100644 --- a/arch/powerpc/platforms/pseries/pci_dlpar.c +++ b/arch/powerpc/platforms/pseries/pci_dlpar.c | |||
| @@ -54,8 +54,7 @@ find_bus_among_children(struct pci_bus *bus, | |||
| 54 | return child; | 54 | return child; |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | struct pci_bus * | 57 | struct pci_bus *pci_find_bus_by_node(struct device_node *dn) |
| 58 | pcibios_find_pci_bus(struct device_node *dn) | ||
| 59 | { | 58 | { |
| 60 | struct pci_dn *pdn = dn->data; | 59 | struct pci_dn *pdn = dn->data; |
| 61 | 60 | ||
| @@ -64,7 +63,7 @@ pcibios_find_pci_bus(struct device_node *dn) | |||
| 64 | 63 | ||
| 65 | return find_bus_among_children(pdn->phb->bus, dn); | 64 | return find_bus_among_children(pdn->phb->bus, dn); |
| 66 | } | 65 | } |
| 67 | EXPORT_SYMBOL_GPL(pcibios_find_pci_bus); | 66 | EXPORT_SYMBOL_GPL(pci_find_bus_by_node); |
| 68 | 67 | ||
| 69 | struct pci_controller *init_phb_dynamic(struct device_node *dn) | 68 | struct pci_controller *init_phb_dynamic(struct device_node *dn) |
| 70 | { | 69 | { |
