sh/PCI: adjust section annotations for pcibios_setup()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:32:05 +0000 (21:32 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Jul 2012 21:09:13 +0000 (15:09 -0600)
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>
arch/sh/drivers/pci/fixups-sdk7786.c

index 0e18ee332553f46898c7b0f23b6bdd435dd575a3..36eb6fc3c18abd883f1257b52cd9edf65e6f3ff3 100644 (file)
@@ -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;