Fixed problems so we can build with gcc-4.0.1 Signed-off-by: Peter Schaefer-Hutter <[EMAIL PROTECTED]> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
--- commit dcc63579f883d388c5b4f69c4adc82423cab1de2 tree f856b999bdc0182e6299ec0000d4432380af0ac0 parent 1de80554bcae877dce3b6d878053eb092ef65c72 author Kumar K. Gala <[EMAIL PROTECTED]> Mon, 08 Aug 2005 22:38:28 -0500 committer Kumar K. Gala <[EMAIL PROTECTED]> Mon, 08 Aug 2005 22:38:28 -0500 drivers/serial/cpm_uart/cpm_uart_core.c | 14 +++++++------- 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 --- 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 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, }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/