aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2006-06-07 09:53:34 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 17:39:14 +0100
commit973c789742b4dc957cd7feb96cae98988dd0cf01 (patch)
treef9a78f2c8fccf4b9be408eddf365d7fb68950743
parentc138e12f3a2e0421a4c8edf02587d2d394418679 (diff)
[MIPS] Cobalt: Fix undefined reference to disable_early_printk.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/cobalt/console.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/cobalt/console.c b/arch/mips/cobalt/console.c
index 45c2d27c756..300797d5f55 100644
--- a/arch/mips/cobalt/console.c
+++ b/arch/mips/cobalt/console.c
@@ -41,3 +41,8 @@ void __init cobalt_early_console(void)
printk("Cobalt: early console registered\n");
}
+
+void __init disable_early_printk(void)
+{
+ unregister_console(&cons_info);
+}