]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/serial/serial_lh7a40x.c
[ARM] 2907/1: GCC 4 serial driver compile fixes
[karo-tx-linux.git] / drivers / serial / serial_lh7a40x.c
index 8302376800c07da15b3c905a0b50baa3a8f9407b..d01dbe5da3b96d395caf8c83a9b923d1325833a8 100644 (file)
@@ -632,7 +632,7 @@ static int __init lh7a40xuart_console_setup (struct console* co, char* options)
        return uart_set_options (port, co, baud, parity, bits, flow);
 }
 
-extern struct uart_driver lh7a40x_reg;
+static struct uart_driver lh7a40x_reg;
 static struct console lh7a40x_console = {
        .name           = "ttyAM",
        .write          = lh7a40xuart_console_write,