mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
[PATCH] m32r_sio gcc4 fixes
extern declaration followed by static in drivers/serial/m32r_sio.c Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
c51d9943b1
commit
a828b8e4e6
@ -1123,7 +1123,7 @@ static int __init m32r_sio_console_setup(struct console *co, char *options)
|
||||
return uart_set_options(port, co, baud, parity, bits, flow);
|
||||
}
|
||||
|
||||
extern struct uart_driver m32r_sio_reg;
|
||||
static struct uart_driver m32r_sio_reg;
|
||||
static struct console m32r_sio_console = {
|
||||
.name = "ttyS",
|
||||
.write = m32r_sio_console_write,
|
||||
|
Loading…
Reference in New Issue
Block a user