diff options
-rw-r--r-- | drivers/serial/sn_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c index ffaab9b90fd8..fee6418e84c4 100644 --- a/drivers/serial/sn_console.c +++ b/drivers/serial/sn_console.c | |||
@@ -787,7 +787,7 @@ static void __init sn_sal_switch_to_interrupts(struct sn_cons_port *port) | |||
787 | 787 | ||
788 | static void sn_sal_console_write(struct console *, const char *, unsigned); | 788 | static void sn_sal_console_write(struct console *, const char *, unsigned); |
789 | static int __init sn_sal_console_setup(struct console *, char *); | 789 | static int __init sn_sal_console_setup(struct console *, char *); |
790 | extern struct uart_driver sal_console_uart; | 790 | static struct uart_driver sal_console_uart; |
791 | extern struct tty_driver *uart_console_device(struct console *, int *); | 791 | extern struct tty_driver *uart_console_device(struct console *, int *); |
792 | 792 | ||
793 | static struct console sal_console = { | 793 | static struct console sal_console = { |
@@ -801,7 +801,7 @@ static struct console sal_console = { | |||
801 | 801 | ||
802 | #define SAL_CONSOLE &sal_console | 802 | #define SAL_CONSOLE &sal_console |
803 | 803 | ||
804 | struct uart_driver sal_console_uart = { | 804 | static struct uart_driver sal_console_uart = { |
805 | .owner = THIS_MODULE, | 805 | .owner = THIS_MODULE, |
806 | .driver_name = "sn_console", | 806 | .driver_name = "sn_console", |
807 | .dev_name = DEVICE_NAME, | 807 | .dev_name = DEVICE_NAME, |