Quellcode durchsuchen

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>
Myron Stowe vor 13 Jahren
Ursprung
Commit
ce8dd71ad7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      arch/sh/drivers/pci/fixups-sdk7786.c

+ 2 - 2
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;