projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc2386
)
MIPS: AR7: Remove unused prom_getchar()
author
Yoichi Yuasa
<yuasa@linux-mips.org>
Sun, 3 Jan 2010 05:13:04 +0000
(14:13 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:36 +0000
(18:19 +0100)
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>
arch/mips/ar7/prom.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/ar7/prom.c
b/arch/mips/ar7/prom.c
index 453dd22ad416e493d1357b16ff9ece36964d408e..c1fdd368281292618fa568793b0eceaf7d5b8937 100644
(file)
--- 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)
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)
{
while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0)