projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae5fbf7
)
serial: fix compile warning about putc
author
Yinghai Lu
<Yinghai.Lu@Sun.COM>
Mon, 5 Nov 2007 22:50:53 +0000
(14:50 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:32 +0000
(15:12 -0800)
drivers/serial/8250_early.c:80: warning: conflicting types for built-in function `putc'
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250_early.c
patch
|
blob
|
history
diff --git
a/drivers/serial/8250_early.c
b/drivers/serial/8250_early.c
index 4d4c9f01be8da7dbde5fa1951cbfbf5ab8bfb593..1f16de719962829e181f4860040a83a6094dcfa7 100644
(file)
--- a/
drivers/serial/8250_early.c
+++ b/
drivers/serial/8250_early.c
@@
-76,7
+76,7
@@
static void __init wait_for_xmitr(struct uart_port *port)
}
}
-static void __init putc(struct uart_port *port, int c)
+static void __init
serial_
putc(struct uart_port *port, int c)
{
wait_for_xmitr(port);
serial_out(port, UART_TX, c);
@@
-91,7
+91,7
@@
static void __init early_serial8250_write(struct console *console, const char *s
ier = serial_in(port, UART_IER);
serial_out(port, UART_IER, 0);
- uart_console_write(port, s, count, putc);
+ uart_console_write(port, s, count,
serial_
putc);
/* Wait for transmitter to become empty and restore the IER */
wait_for_xmitr(port);