From: Myron Stowe Date: Tue, 26 Jun 2012 03:31:58 +0000 (-0600) Subject: sh/PCI: factor out pcibios_setup() X-Git-Tag: next-20120724~86^2~10^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=86927f9344ebfc1e4059eb774dbd975d50b7766b;p=karo-tx-linux.git 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 Acked-by: Paul Mundt Signed-off-by: Myron Stowe Signed-off-by: Bjorn Helgaas --- 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,