Skip to content

Commit

Permalink
[ARM] 4411/1: KS8695: Another serial driver fix
Browse files Browse the repository at this point in the history
Fix a error reported by newer versions of GCC.
error: static declaration of 'ks8695_reg' follows non-static declaration

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Andrew Victor authored and Russell King committed May 30, 2007
1 parent 28c670c commit 486cab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/serial_ks8695.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

extern struct uart_driver ks8695_reg;
static struct uart_driver ks8695_reg;

static struct console ks8695_console = {
.name = SERIAL_KS8695_DEVNAME,
Expand Down

0 comments on commit 486cab2

Please sign in to comment.