cpm_uart_core.c: needs some love to compile with GCC4.0.1.

Signed-off-by: Peter Schaefer-Hutter
<peter.schaefer-hutter at tfk-racoms.com>

--- a/drivers/serial/cpm_uart/cpm_uart_core.c   2005-08-08
15:49:16.725292392 +0200
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c   2005-08-08
15:33:47.691526992 +0200
@@ -1134,14 +1134,14 @@
        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,
 };
 

Reply via email to