diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-05 17:31:05 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-05 17:31:05 -0400 |
commit | 85a00dd391d2de1e177c5ad8db5672428934ac20 (patch) | |
tree | 1dbf69da98dd2e4f6d5dfc75f8dacc00d1664f89 /arch/sh | |
parent | 35e7f73c32ad44a931d918d04e317a7fb0c63e6e (diff) | |
parent | 29e8d7bff2f52dd5464a9fb24ece608bbf8fd5ae (diff) |
Merge branch 'pci/myron-pcibios_setup' into next
* pci/myron-pcibios_setup:
xtensa/PCI: factor out pcibios_setup()
x86/PCI: adjust section annotations for pcibios_setup()
unicore32/PCI: adjust section annotations for pcibios_setup()
tile/PCI: factor out pcibios_setup()
sparc/PCI: factor out pcibios_setup()
sh/PCI: adjust section annotations for pcibios_setup()
sh/PCI: factor out pcibios_setup()
powerpc/PCI: factor out pcibios_setup()
parisc/PCI: factor out pcibios_setup()
MIPS/PCI: adjust section annotations for pcibios_setup()
MIPS/PCI: factor out pcibios_setup()
microblaze/PCI: factor out pcibios_setup()
ia64/PCI: factor out pcibios_setup()
cris/PCI: factor out pcibios_setup()
alpha/PCI: factor out pcibios_setup()
PCI: pull pcibios_setup() up into core
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/drivers/pci/fixups-sdk7786.c | 4 | ||||
-rw-r--r-- | arch/sh/drivers/pci/pci.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/arch/sh/drivers/pci/fixups-sdk7786.c b/arch/sh/drivers/pci/fixups-sdk7786.c index 0e18ee332553..36eb6fc3c18a 100644 --- a/arch/sh/drivers/pci/fixups-sdk7786.c +++ b/arch/sh/drivers/pci/fixups-sdk7786.c | |||
@@ -23,9 +23,9 @@ | |||
23 | * Misconfigurations can be detected through the FPGA via the slot | 23 | * Misconfigurations can be detected through the FPGA via the slot |
24 | * resistors to determine card presence. Hotplug remains unsupported. | 24 | * resistors to determine card presence. Hotplug remains unsupported. |
25 | */ | 25 | */ |
26 | static unsigned int slot4en __devinitdata; | 26 | static unsigned int slot4en __initdata; |
27 | 27 | ||
28 | char *__devinit pcibios_setup(char *str) | 28 | char *__init pcibios_setup(char *str) |
29 | { | 29 | { |
30 | if (strcmp(str, "slot4en") == 0) { | 30 | if (strcmp(str, "slot4en") == 0) { |
31 | slot4en = 1; | 31 | slot4en = 1; |
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c index 43068dcb451c..40db2d0aef3f 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, |