summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sunsu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/sunsu.c')
-rw-r--r--drivers/serial/sunsu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c
index 3313cb2..46510e7 100644
--- a/drivers/serial/sunsu.c
+++ b/drivers/serial/sunsu.c
@@ -1529,6 +1529,8 @@ static int __init sunsu_serial_init(void)
if (ret < 0)
return ret;
+ sunsu_reg.tty_driver->name_base = sunsu_reg.minor - 64;
+
sunserial_current_minor += instance;
sunsu_reg.cons = SUNSU_CONSOLE();
OpenPOWER on IntegriCloud