aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/ssl.c')
-rw-r--r--arch/um/drivers/ssl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c
index 4b382a6e710f..fd09ad9e9c0a 100644
--- a/arch/um/drivers/ssl.c
+++ b/arch/um/drivers/ssl.c
@@ -15,7 +15,6 @@
15#include "line.h" 15#include "line.h"
16#include "ssl.h" 16#include "ssl.h"
17#include "chan_kern.h" 17#include "chan_kern.h"
18#include "user_util.h"
19#include "kern_util.h" 18#include "kern_util.h"
20#include "kern.h" 19#include "kern.h"
21#include "init.h" 20#include "init.h"
@@ -192,12 +191,12 @@ static int ssl_init(void)
192 ssl_driver = register_lines(&driver, &ssl_ops, serial_lines, 191 ssl_driver = register_lines(&driver, &ssl_ops, serial_lines,
193 ARRAY_SIZE(serial_lines)); 192 ARRAY_SIZE(serial_lines));
194 193
195 lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
196
197 new_title = add_xterm_umid(opts.xterm_title); 194 new_title = add_xterm_umid(opts.xterm_title);
198 if (new_title != NULL) 195 if (new_title != NULL)
199 opts.xterm_title = new_title; 196 opts.xterm_title = new_title;
200 197
198 lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
199
201 ssl_init_done = 1; 200 ssl_init_done = 1;
202 register_console(&ssl_cons); 201 register_console(&ssl_cons);
203 return 0; 202 return 0;