Commit cec2f0ca authored by Ralf Baechle's avatar Ralf Baechle

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

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent cf028d17
...@@ -24,7 +24,7 @@ static void prom_console_write(struct console *co, const char *s, ...@@ -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); return !(prom_flags & PROM_FLAG_USE_AS_CONSOLE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment