aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/pci.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-06-23 21:50:42 -0400
committerBjorn Helgaas <bhelgaas@google.com>2017-08-02 15:43:38 -0400
commitbccf90d6e063d278b9ddc78dd266d0adef29886c (patch)
tree08579c44a77ee7c747ccb0802d2628034868665f /arch/sh/drivers/pci/pci.c
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
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/sh/drivers/pci/pci.c')
-rw-r--r--arch/sh/drivers/pci/pci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c
index c99ee286b69f..749642e1272e 100644
--- a/arch/sh/drivers/pci/pci.c
+++ b/arch/sh/drivers/pci/pci.c
@@ -155,14 +155,6 @@ static int __init pcibios_init(void)
155subsys_initcall(pcibios_init); 155subsys_initcall(pcibios_init);
156 156
157/* 157/*
158 * Called after each bus is probed, but before its children
159 * are examined.
160 */
161void pcibios_fixup_bus(struct pci_bus *bus)
162{
163}
164
165/*
166 * We need to avoid collisions with `mirrored' VGA ports 158 * We need to avoid collisions with `mirrored' VGA ports
167 * and other strange ISA hardware, so we always want the 159 * and other strange ISA hardware, so we always want the
168 * addresses to be allocated in the 0x000-0x0ff region 160 * addresses to be allocated in the 0x000-0x0ff region