summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-25 21:32:05 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 15:09:13 -0600
commitce8dd71ad7cb9480d6003473630f0fbc4d67af71 (patch)
tree017ad8790c27ac9ccabce2b2f07a2b415da5c341 /arch/sh
parent86927f9344ebfc1e4059eb774dbd975d50b7766b (diff)
downloadop-kernel-dev-ce8dd71ad7cb9480d6003473630f0fbc4d67af71.zip
op-kernel-dev-ce8dd71ad7cb9480d6003473630f0fbc4d67af71.tar.gz
sh/PCI: adjust section annotations for pcibios_setup()
Make pcibios_setup() consistently use the "__init" section annotation. 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/fixups-sdk7786.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/pci/fixups-sdk7786.c b/arch/sh/drivers/pci/fixups-sdk7786.c
index 0e18ee3..36eb6fc 100644
--- a/arch/sh/drivers/pci/fixups-sdk7786.c
+++ b/arch/sh/drivers/pci/fixups-sdk7786.c
@@ -23,9 +23,9 @@
* Misconfigurations can be detected through the FPGA via the slot
* resistors to determine card presence. Hotplug remains unsupported.
*/
-static unsigned int slot4en __devinitdata;
+static unsigned int slot4en __initdata;
-char *__devinit pcibios_setup(char *str)
+char *__init pcibios_setup(char *str)
{
if (strcmp(str, "slot4en") == 0) {
slot4en = 1;
OpenPOWER on IntegriCloud