linux-mips
[Top] [All Lists]

[PATCH] cobalt: fixed undefined reference to `disable_early_printk'

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] cobalt: fixed undefined reference to `disable_early_printk'
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed, 7 Jun 2006 09:53:34 +0900
Cc: linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

This patch has fixed build error about cobalt.

drivers/built-in.o: In function `console_init':
: undefined reference to `disable_early_printk'
make: *** [.tmp_vmlinux1] Error 1

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X dontdiff rc5-orig/arch/mips/cobalt/console.c 
rc5/arch/mips/cobalt/console.c
--- rc5-orig/arch/mips/cobalt/console.c 2006-06-06 10:29:30.278755250 +0900
+++ rc5/arch/mips/cobalt/console.c      2006-06-05 23:32:59.877242000 +0900
@@ -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);
+}

<Prev in Thread] Current Thread [Next in Thread>