diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/dz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c index 83dc75be5bbc..c2f867777145 100644 --- a/drivers/serial/dz.c +++ b/drivers/serial/dz.c | |||
@@ -744,7 +744,7 @@ static int __init dz_console_setup(struct console *co, char *options) | |||
744 | } | 744 | } |
745 | 745 | ||
746 | static struct uart_driver dz_reg; | 746 | static struct uart_driver dz_reg; |
747 | static struct console dz_sercons = { | 747 | static struct console dz_console = { |
748 | .name = "ttyS", | 748 | .name = "ttyS", |
749 | .write = dz_console_print, | 749 | .write = dz_console_print, |
750 | .device = uart_console_device, | 750 | .device = uart_console_device, |
@@ -758,7 +758,7 @@ static int __init dz_serial_console_init(void) | |||
758 | { | 758 | { |
759 | if (!IOASIC) { | 759 | if (!IOASIC) { |
760 | dz_init_ports(); | 760 | dz_init_ports(); |
761 | register_console(&dz_sercons); | 761 | register_console(&dz_console); |
762 | return 0; | 762 | return 0; |
763 | } else | 763 | } else |
764 | return -ENXIO; | 764 | return -ENXIO; |
@@ -766,7 +766,7 @@ static int __init dz_serial_console_init(void) | |||
766 | 766 | ||
767 | console_initcall(dz_serial_console_init); | 767 | console_initcall(dz_serial_console_init); |
768 | 768 | ||
769 | #define SERIAL_DZ_CONSOLE &dz_sercons | 769 | #define SERIAL_DZ_CONSOLE &dz_console |
770 | #else | 770 | #else |
771 | #define SERIAL_DZ_CONSOLE NULL | 771 | #define SERIAL_DZ_CONSOLE NULL |
772 | #endif /* CONFIG_SERIAL_DZ_CONSOLE */ | 772 | #endif /* CONFIG_SERIAL_DZ_CONSOLE */ |