]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] A struct console.setup function may not be __init.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 3 Mar 2006 17:35:15 +0000 (17:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 Mar 2006 18:05:07 +0000 (18:05 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/arc/arc_con.c

index 51785a6a7328905ee871acc81d1a4a28c14d7d32..bc32fe64f42add26fa0100b2c4592b58a8ce9231 100644 (file)
@@ -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);
 }