diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-24 03:50:42 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-02 21:43:38 +0200 |
commit | bccf90d6e063d278b9ddc78dd266d0adef29886c (patch) | |
tree | 08579c44a77ee7c747ccb0802d2628034868665f /arch/arm64/kernel/pci.c | |
parent | Linux 4.13-rc3 (diff) | |
download | linux-bccf90d6e063d278b9ddc78dd266d0adef29886c.tar.xz 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/arm64/kernel/pci.c')
-rw-r--r-- | arch/arm64/kernel/pci.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index e2b7e4f9cc31..d91051259bb2 100644 --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -23,14 +23,6 @@ #include <linux/slab.h> /* - * Called after each bus is probed, but before its children are examined - */ -void pcibios_fixup_bus(struct pci_bus *bus) -{ - /* nothing to do, expected to be removed in the future */ -} - -/* * We don't have to worry about legacy ISA devices, so nothing to do here */ resource_size_t pcibios_align_resource(void *data, const struct resource *res, |