PCI: Add a generic weak pcibios_fixup_bus()
authorPalmer Dabbelt <palmer@dabbelt.com>
Sat, 24 Jun 2017 01:50:42 +0000 (18:50 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 2 Aug 2017 19:43:38 +0000 (14:43 -0500)
commitbccf90d6e063d278b9ddc78dd266d0adef29886c
tree08579c44a77ee7c747ccb0802d2628034868665f
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI: Add a generic weak pcibios_fixup_bus()

Multiple architectures define this as an empty function, and I'm adding
another one as part of the RISC-V port.  Add a __weak version of
pcibios_fixup_bus() and delete the now-obselete ones in a handful of
ports.

The only functional change should be that microblaze used to export
pcibios_fixup_bus().  None of the other architectures exports this, so I
just dropped it.

Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arc/kernel/pcibios.c
arch/arm64/kernel/pci.c
arch/cris/arch-v32/drivers/pci/bios.c
arch/microblaze/pci/pci-common.c
arch/s390/pci/pci.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/pci.c
arch/tile/kernel/pci.c
arch/tile/kernel/pci_gx.c
drivers/pci/probe.c