提交 70b5c819 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

MIPS: AR7: Remove unused prom_getchar()

Signed-off-by: NYoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/811/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 1dc23863
...@@ -272,13 +272,6 @@ static inline void serial_out(int offset, int value) ...@@ -272,13 +272,6 @@ static inline void serial_out(int offset, int value)
writel(value, (void *)PORT(offset)); writel(value, (void *)PORT(offset));
} }
char prom_getchar(void)
{
while (!(serial_in(UART_LSR) & UART_LSR_DR))
;
return serial_in(UART_RX);
}
int prom_putchar(char c) int prom_putchar(char c)
{ {
while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册