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>
Showing
- arch/arc/kernel/pcibios.c 0 additions, 4 deletionsarch/arc/kernel/pcibios.c
- arch/arm64/kernel/pci.c 0 additions, 8 deletionsarch/arm64/kernel/pci.c
- arch/cris/arch-v32/drivers/pci/bios.c 0 additions, 4 deletionsarch/cris/arch-v32/drivers/pci/bios.c
- arch/microblaze/pci/pci-common.c 0 additions, 6 deletionsarch/microblaze/pci/pci-common.c
- arch/s390/pci/pci.c 0 additions, 4 deletionsarch/s390/pci/pci.c
- arch/sh/drivers/pci/pci.c 0 additions, 8 deletionsarch/sh/drivers/pci/pci.c
- arch/sparc/kernel/pci.c 0 additions, 4 deletionsarch/sparc/kernel/pci.c
- arch/tile/kernel/pci.c 0 additions, 8 deletionsarch/tile/kernel/pci.c
- arch/tile/kernel/pci_gx.c 0 additions, 5 deletionsarch/tile/kernel/pci_gx.c
- drivers/pci/probe.c 9 additions, 0 deletionsdrivers/pci/probe.c
Loading
Please register or sign in to comment