提交 36d2f5a1 编写于 作者: K Kumar Gala 提交者: Linus Torvalds

[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: NPeter Schaefer-Hutter <peter.schaefer-hutter@tfk-racoms.com>
Signed-off-by: NKumar Gala <kumar.gala@freescale.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 311c4627
...@@ -1134,14 +1134,14 @@ static int __init cpm_uart_console_setup(struct console *co, char *options) ...@@ -1134,14 +1134,14 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
return 0; return 0;
} }
extern struct uart_driver cpm_reg; static struct uart_driver cpm_reg;
static struct console cpm_scc_uart_console = { static struct console cpm_scc_uart_console = {
.name "ttyCPM", .name = "ttyCPM",
.write cpm_uart_console_write, .write = cpm_uart_console_write,
.device uart_console_device, .device = uart_console_device,
.setup cpm_uart_console_setup, .setup = cpm_uart_console_setup,
.flags CON_PRINTBUFFER, .flags = CON_PRINTBUFFER,
.index -1, .index = -1,
.data = &cpm_reg, .data = &cpm_reg,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册