]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/mips/cobalt/console.c
i2c-gpio: Make some internal functions static
[linux-2.6-omap-h63xx.git] / arch / mips / cobalt / console.c
1 /*
2  * (C) P. Horton 2006
3  */
4 #include <linux/serial_reg.h>
5
6 #include <asm/addrspace.h>
7
8 #include <cobalt.h>
9
10 void prom_putchar(char c)
11 {
12         while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
13                 ;
14
15         COBALT_UART[UART_TX] = c;
16 }