From: Wu Zhangjin Date: Thu, 2 Jul 2009 15:18:09 +0000 (+0800) Subject: MIPS: Loongson: Remove existing early_printk implementation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efc49ef556b135739386c64fd5c2ecd99b300446;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git MIPS: Loongson: Remove existing early_printk implementation Removes the existing implementation of early_printk for fulong. The old implementation was based on the outdated board-specific dbg_io.c. Since commit 8d60a903d986ffa26c41f0092320a3b9da20bfaf dbg_io.c is not longer needed; it will be removed by the next patch, and a new implementation of early_printk will be added later. Signed-off-by: Wu Zhangjin Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/lemote/lm2e/prom.c b/arch/mips/lemote/lm2e/prom.c index 7edc15dfed6..d78cedf28c1 100644 --- a/arch/mips/lemote/lm2e/prom.c +++ b/arch/mips/lemote/lm2e/prom.c @@ -21,7 +21,6 @@ extern unsigned long bus_clock; extern unsigned long cpu_clock_freq; extern unsigned int memsize, highmemsize; -extern int putDebugChar(unsigned char byte); static int argc; /* pmon passes arguments in 32bit pointers */ @@ -90,8 +89,3 @@ do { \ void __init prom_free_prom_memory(void) { } - -void prom_putchar(char c) -{ - putDebugChar(c); -}