From: Al Viro Date: Tue, 23 Aug 2005 21:47:27 +0000 (+0100) Subject: [PATCH] m32r_sio gcc4 fixes X-Git-Tag: v2.6.13-rc7~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a828b8e4e699b5e3ce0dcbb708ecb099b86f3126;p=linux-2.6-omap-h63xx.git [PATCH] m32r_sio gcc4 fixes extern declaration followed by static in drivers/serial/m32r_sio.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/m32r_sio.c b/drivers/serial/m32r_sio.c index 0301feacbde..9b50560b9d1 100644 --- a/drivers/serial/m32r_sio.c +++ b/drivers/serial/m32r_sio.c @@ -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,