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:
311c462
)
[PATCH] cpm_uart: needs some love to compile with GCC4.0.1
author
Kumar Gala
<galak@freescale.com>
Tue, 9 Aug 2005 17:08:02 +0000
(10:08 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 9 Aug 2005 19:08:22 +0000
(12:08 -0700)
Fixed problems so we can build with gcc-4.0.1
Signed-off-by: Peter Schaefer-Hutter <peter.schaefer-hutter@tfk-racoms.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/cpm_uart/cpm_uart_core.c
patch
|
blob
|
history
diff --git
a/drivers/serial/cpm_uart/cpm_uart_core.c
b/drivers/serial/cpm_uart/cpm_uart_core.c
index 8bd2885b0d327d879de7959eb7e22e1a2b986f04..d639ac92a117c73eec982310534d7b2b4d908df8 100644
(file)
--- a/
drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/
drivers/serial/cpm_uart/cpm_uart_core.c
@@
-1134,14
+1134,14
@@
static int __init cpm_uart_console_setup(struct console *co, char *options)
return 0;
}
-
extern
struct uart_driver cpm_reg;
+
static
struct uart_driver cpm_reg;
static struct console cpm_scc_uart_console = {
- .name "ttyCPM",
- .write cpm_uart_console_write,
- .device uart_console_device,
- .setup cpm_uart_console_setup,
- .flags CON_PRINTBUFFER,
- .index -1,
+ .name
=
"ttyCPM",
+ .write
=
cpm_uart_console_write,
+ .device
=
uart_console_device,
+ .setup
=
cpm_uart_console_setup,
+ .flags
=
CON_PRINTBUFFER,
+ .index
=
-1,
.data = &cpm_reg,
};