mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
[MIPS] A struct console.setup function may not be __init.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
cf028d1715
commit
cec2f0ca29
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user