提交 cec2f0ca 编写于 作者: R Ralf Baechle

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

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册