PCI: Rename pcibios_add_device() to pcibios_device_add()
The general convention for pcibios_* hooks is that they're named after the corresponding pci_* function they provide a hook for. The exception is pcibios_add_device() which provides a hook for pci_device_add(). Rename pcibios_add_device() to pcibios_device_add() so it matches pci_device_add(). Also, remove the export of the microblaze version. The only caller must be compiled as a built-in so there's no reason for the export. Link: https://lore.kernel.org/r/20210913152709.48013-1-oohall@gmail.com Signed-off-by:Oliver O'Halloran <oohall@gmail.com> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com> Acked-by: Niklas Schnelle <schnelle@linux.ibm.com> # s390
Showing
- arch/microblaze/pci/pci-common.c 1 addition, 2 deletionsarch/microblaze/pci/pci-common.c
- arch/powerpc/kernel/pci-common.c 1 addition, 1 deletionarch/powerpc/kernel/pci-common.c
- arch/powerpc/platforms/powernv/pci-sriov.c 1 addition, 1 deletionarch/powerpc/platforms/powernv/pci-sriov.c
- arch/s390/pci/pci.c 1 addition, 1 deletionarch/s390/pci/pci.c
- arch/sparc/kernel/pci.c 1 addition, 1 deletionarch/sparc/kernel/pci.c
- arch/x86/pci/common.c 1 addition, 1 deletionarch/x86/pci/common.c
- drivers/pci/pci.c 2 additions, 2 deletionsdrivers/pci/pci.c
- drivers/pci/probe.c 2 additions, 2 deletionsdrivers/pci/probe.c
- include/linux/pci.h 1 addition, 1 deletioninclude/linux/pci.h
Loading
Please register or sign in to comment