summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-25 21:31:58 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 15:09:13 -0600
commit86927f9344ebfc1e4059eb774dbd975d50b7766b (patch)
treeea6bc975acfd60b899a29fdecf69798ed9fc42d0 /arch/sh/drivers
parent67ea194ad312b8916917480faebf76fa5d9454a2 (diff)
downloadop-kernel-dev-86927f9344ebfc1e4059eb774dbd975d50b7766b.zip
op-kernel-dev-86927f9344ebfc1e4059eb774dbd975d50b7766b.tar.gz
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/drivers')
-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 9d10a3c..7d42288 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,
OpenPOWER on IntegriCloud