diff options
author | Myron Stowe <myron.stowe@redhat.com> | 2012-06-25 23:31:58 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-05 17:09:13 -0400 |
commit | 86927f9344ebfc1e4059eb774dbd975d50b7766b (patch) | |
tree | ea6bc975acfd60b899a29fdecf69798ed9fc42d0 /arch | |
parent | 67ea194ad312b8916917480faebf76fa5d9454a2 (diff) |
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.c | 5 |
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) | |||
197 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | 197 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); |
198 | } | 198 | } |
199 | 199 | ||
200 | char * __devinit __weak pcibios_setup(char *str) | ||
201 | { | ||
202 | return str; | ||
203 | } | ||
204 | |||
205 | static void __init | 200 | static void __init |
206 | pcibios_bus_report_status_early(struct pci_channel *hose, | 201 | pcibios_bus_report_status_early(struct pci_channel *hose, |
207 | int top_bus, int current_bus, | 202 | int top_bus, int current_bus, |