projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c670c
)
[ARM] 4411/1: KS8695: Another serial driver fix
author
Andrew Victor
<andrew@sanpeople.com>
Mon, 28 May 2007 09:47:19 +0000
(10:47 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 30 May 2007 12:15:19 +0000
(13:15 +0100)
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>
drivers/serial/serial_ks8695.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_ks8695.c
b/drivers/serial/serial_ks8695.c
index 698763b28dddb10c56bae0cdfd540d2555f4d929..8721afe1ae4fa2906666e3857840fdb3709eabd7 100644
(file)
--- a/
drivers/serial/serial_ks8695.c
+++ b/
drivers/serial/serial_ks8695.c
@@
-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,