aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-01-03 00:13:04 -0500
committerRalf Baechle <ralf@linux-mips.org>2010-01-12 12:19:36 -0500
commit70b5c8194f1ecfab5f7e8db3590e7ef7996d893e (patch)
treea97c249b88dc5b5302f3d3228aef6a1decf7cc8b
parent1dc238632bbb4283ba2c789b2aeadb1a2743eb4f (diff)
MIPS: AR7: Remove unused prom_getchar()
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/811/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/ar7/prom.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index 453dd22ad416..c1fdd3682812 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -272,13 +272,6 @@ static inline void serial_out(int offset, int value)
272 writel(value, (void *)PORT(offset)); 272 writel(value, (void *)PORT(offset));
273} 273}
274 274
275char prom_getchar(void)
276{
277 while (!(serial_in(UART_LSR) & UART_LSR_DR))
278 ;
279 return serial_in(UART_RX);
280}
281
282int prom_putchar(char c) 275int prom_putchar(char c)
283{ 276{
284 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) 277 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0)