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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>

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);
+}


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux