Commit 4009d980 authored by Olaf Hering's avatar Olaf Hering Committed by Paul Mackerras

[PATCH] powerpc: fix compile warning in udbg_init_maple_realmode

arch/powerpc/kernel/udbg_16550.c: In function `udbg_init_maple_realmode':
arch/powerpc/kernel/udbg_16550.c:162: warning: assignment from incompatible pointer type
Signed-off-by: default avatarOlaf Hering <olh@suse.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent d60dcd94
...@@ -144,7 +144,7 @@ unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock) ...@@ -144,7 +144,7 @@ unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock)
} }
#ifdef CONFIG_PPC_MAPLE #ifdef CONFIG_PPC_MAPLE
void udbg_maple_real_putc(unsigned char c) void udbg_maple_real_putc(char c)
{ {
if (udbg_comport) { if (udbg_comport) {
while ((real_readb(&udbg_comport->lsr) & LSR_THRE) == 0) while ((real_readb(&udbg_comport->lsr) & LSR_THRE) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment