summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-06-23 18:50:42 -0700
committerBjorn Helgaas <bhelgaas@google.com>2017-08-02 14:43:38 -0500
commitbccf90d6e063d278b9ddc78dd266d0adef29886c (patch)
tree08579c44a77ee7c747ccb0802d2628034868665f /arch/cris/arch-v32
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
downloadtalos-obmc-linux-bccf90d6e063d278b9ddc78dd266d0adef29886c.tar.gz
talos-obmc-linux-bccf90d6e063d278b9ddc78dd266d0adef29886c.zip
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>
Diffstat (limited to 'arch/cris/arch-v32')
-rw-r--r--arch/cris/arch-v32/drivers/pci/bios.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/cris/arch-v32/drivers/pci/bios.c b/arch/cris/arch-v32/drivers/pci/bios.c
index 394c2a73d5e2..5cc622c0225e 100644
--- a/arch/cris/arch-v32/drivers/pci/bios.c
+++ b/arch/cris/arch-v32/drivers/pci/bios.c
@@ -2,10 +2,6 @@
#include <linux/kernel.h>
#include <hwregs/intr_vect.h>
-void pcibios_fixup_bus(struct pci_bus *b)
-{
-}
-
void pcibios_set_master(struct pci_dev *dev)
{
u8 lat;
OpenPOWER on IntegriCloud