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>
This commit is contained in:

کامیت شده توسط
Michael Ellerman

والد
bd251b893d
کامیت
3773dd258e
@@ -54,8 +54,7 @@ find_bus_among_children(struct pci_bus *bus,
|
||||
return child;
|
||||
}
|
||||
|
||||
struct pci_bus *
|
||||
pcibios_find_pci_bus(struct device_node *dn)
|
||||
struct pci_bus *pci_find_bus_by_node(struct device_node *dn)
|
||||
{
|
||||
struct pci_dn *pdn = dn->data;
|
||||
|
||||
@@ -64,7 +63,7 @@ pcibios_find_pci_bus(struct device_node *dn)
|
||||
|
||||
return find_bus_among_children(pdn->phb->bus, dn);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pcibios_find_pci_bus);
|
||||
EXPORT_SYMBOL_GPL(pci_find_bus_by_node);
|
||||
|
||||
struct pci_controller *init_phb_dynamic(struct device_node *dn)
|
||||
{
|
||||
|
مرجع در شماره جدید
Block a user