aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKumar Gala <galak@freescale.com>2005-08-09 13:08:02 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-09 15:08:22 -0400
commit36d2f5a18205dfc2fac1e3541d324ce186f418cb (patch)
tree6eeb91fa4e58d12183fc7645f0308f51b07db690 /drivers
parent311c46273f0e8b140d4cc68e13128cbc22114807 (diff)
[PATCH] cpm_uart: needs some love to compile with GCC4.0.1
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index 8bd2885b0d32..d639ac92a117 100644
--- 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)
1134 return 0; 1134 return 0;
1135} 1135}
1136 1136
1137extern struct uart_driver cpm_reg; 1137static struct uart_driver cpm_reg;
1138static struct console cpm_scc_uart_console = { 1138static struct console cpm_scc_uart_console = {
1139 .name "ttyCPM", 1139 .name = "ttyCPM",
1140 .write cpm_uart_console_write, 1140 .write = cpm_uart_console_write,
1141 .device uart_console_device, 1141 .device = uart_console_device,
1142 .setup cpm_uart_console_setup, 1142 .setup = cpm_uart_console_setup,
1143 .flags CON_PRINTBUFFER, 1143 .flags = CON_PRINTBUFFER,
1144 .index -1, 1144 .index = -1,
1145 .data = &cpm_reg, 1145 .data = &cpm_reg,
1146}; 1146};
1147 1147