summaryrefslogtreecommitdiffstats
path: root/arch/mips/arc
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-03-03 18:35:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-03-09 19:05:07 +0100
commitcec2f0ca29fe99eec5e4012e5fb341fce64e578b (patch)
tree7a40c70b7ae91f5d615301036c5730ced970aaed /arch/mips/arc
parent[MIPS] Threaten removal of code for NEC DDB5074 and DDB5476 evaluation boards. (diff)
downloadlinux-cec2f0ca29fe99eec5e4012e5fb341fce64e578b.tar.xz
linux-cec2f0ca29fe99eec5e4012e5fb341fce64e578b.zip
[MIPS] A struct console.setup function may not be __init.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/arc')
-rw-r--r--arch/mips/arc/arc_con.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/arc/arc_con.c b/arch/mips/arc/arc_con.c
index 51785a6a7328..bc32fe64f42a 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);
}