Commit 486cab2b authored by Andrew Victor's avatar Andrew Victor Committed by Russell King

[ARM] 4411/1: KS8695: Another serial driver fix

Fix a error reported by newer versions of GCC.
error: static declaration of 'ks8695_reg' follows non-static declaration
Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 28c670cb
...@@ -589,7 +589,7 @@ static int __init ks8695_console_setup(struct console *co, char *options) ...@@ -589,7 +589,7 @@ static int __init ks8695_console_setup(struct console *co, char *options)
return uart_set_options(port, co, baud, parity, bits, flow); return uart_set_options(port, co, baud, parity, bits, flow);
} }
extern struct uart_driver ks8695_reg; static struct uart_driver ks8695_reg;
static struct console ks8695_console = { static struct console ks8695_console = {
.name = SERIAL_KS8695_DEVNAME, .name = SERIAL_KS8695_DEVNAME,
......
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