projects/linux·commit a828b8e4

[PATCH] m32r_sio gcc4 fixes

a828b8e4 · Al Viro <[email protected]> · 2005-08-23 22:47:27 +01:00

extern declaration followed by static in drivers/serial/m32r_sio.c

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
a828b8e4e699b5e3ce0dcbb708ecb099b86f3126
Parents
c51d9943

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/serial/m32r_sio.cmodified+1−1View file

drivers/serial/m32r_sio.c

View file
diff --git a/drivers/serial/m32r_sio.c b/drivers/serial/m32r_sio.c
index 0301fea..9b50560 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,