summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-26 05:31:58 +0200
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 23:09:13 +0200
commit86927f9344ebfc1e4059eb774dbd975d50b7766b (patch)
treeea6bc975acfd60b899a29fdecf69798ed9fc42d0 /arch
parentpowerpc/PCI: factor out pcibios_setup() (diff)
downloadlinux-86927f9344ebfc1e4059eb774dbd975d50b7766b.tar.xz
linux-86927f9344ebfc1e4059eb774dbd975d50b7766b.zip
sh/PCI: factor out pcibios_setup()
The PCI core provides a generic pcibios_setup() routine. Drop this architecture-specific version in favor of that. Tested-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Myron Stowe <myron.stowe@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/drivers/pci/pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c
index 9d10a3cb8797..7d42288e1057 100644
--- a/arch/sh/drivers/pci/pci.c
+++ b/arch/sh/drivers/pci/pci.c
@@ -197,11 +197,6 @@ void __init pcibios_update_irq(struct pci_dev *dev, int irq)
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
}
-char * __devinit __weak pcibios_setup(char *str)
-{
- return str;
-}
-
static void __init
pcibios_bus_report_status_early(struct pci_channel *hose,
int top_bus, int current_bus,