diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | 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 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 | ||
1137 | extern struct uart_driver cpm_reg; | 1137 | static struct uart_driver cpm_reg; |
1138 | static struct console cpm_scc_uart_console = { | 1138 | static 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 | ||