summaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/console.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-03-02 04:42:33 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-03-07 01:07:16 +0100
commit0a22e0d43b6d6468544dd7559d5f3c4acb8b536e (patch)
treefc757116fdc4fbe1408ab4a218c4e9754b9b0784 /arch/mips/cobalt/console.c
parent[MIPS] SMTC: De-obscure Malta hooks. (diff)
downloadlinux-0a22e0d43b6d6468544dd7559d5f3c4acb8b536e.tar.xz
linux-0a22e0d43b6d6468544dd7559d5f3c4acb8b536e.zip
[MIPS] Cobalt: Fix early printk
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r--arch/mips/cobalt/console.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/cobalt/console.c b/arch/mips/cobalt/console.c
index fff20d28114f..ca56b415b8ac 100644
--- a/arch/mips/cobalt/console.c
+++ b/arch/mips/cobalt/console.c
@@ -9,11 +9,8 @@
#include <asm/addrspace.h>
#include <asm/mach-cobalt/cobalt.h>
-static void putchar(int c)
+void prom_putchar(char c)
{
- if(c == '\n')
- putchar('\r');
-
while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
;