Преглед на файлове

[MIPS] A struct console.setup function may not be __init.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle преди 19 години
родител
ревизия
cec2f0ca29
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      arch/mips/arc/arc_con.c

+ 1 - 1
arch/mips/arc/arc_con.c

@@ -24,7 +24,7 @@ static void prom_console_write(struct console *co, const char *s,
 	}
 }
 
-static int __init prom_console_setup(struct console *co, char *options)
+static int prom_console_setup(struct console *co, char *options)
 {
 	return !(prom_flags & PROM_FLAG_USE_AS_CONSOLE);
 }