aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/sunzilog.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/sunzilog.c')
-rw-r--r--drivers/serial/sunzilog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c
index 5aa74e7a954e..10b35c6f287d 100644
--- a/drivers/serial/sunzilog.c
+++ b/drivers/serial/sunzilog.c
@@ -1692,6 +1692,7 @@ static int __init sunzilog_ports_init(void)
1692 1692
1693 ret = uart_register_driver(&sunzilog_reg); 1693 ret = uart_register_driver(&sunzilog_reg);
1694 if (ret == 0) { 1694 if (ret == 0) {
1695 sunzilog_reg.tty_driver->name_base = sunzilog_reg.minor - 64;
1695 sunzilog_reg.cons = SUNZILOG_CONSOLE(); 1696 sunzilog_reg.cons = SUNZILOG_CONSOLE();
1696 1697
1697 sunserial_current_minor += uart_count; 1698 sunserial_current_minor += uart_count;