summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-26 07:31:58 +0400
committerBjorn Helgaas <bhelgaas@google.com>2012-07-06 01:09:13 +0400
commit86927f9344ebfc1e4059eb774dbd975d50b7766b (patch)
treeea6bc975acfd60b899a29fdecf69798ed9fc42d0 /arch/sh
parent67ea194ad312b8916917480faebf76fa5d9454a2 (diff)
downloadlinux-86927f9344ebfc1e4059eb774dbd975d50b7766b.tar.xz
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/sh')
-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,