From: Ralf Baechle Date: Fri, 3 Mar 2006 17:35:15 +0000 (+0000) Subject: [MIPS] A struct console.setup function may not be __init. X-Git-Tag: v2.6.16-rc6~52 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cec2f0ca29fe99eec5e4012e5fb341fce64e578b;p=linux-2.6-omap-h63xx.git [MIPS] A struct console.setup function may not be __init. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/arc/arc_con.c b/arch/mips/arc/arc_con.c index 51785a6a732..bc32fe64f42 100644 --- a/arch/mips/arc/arc_con.c +++ b/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); }