diff options
Diffstat (limited to 'arch/um/drivers/stdio_console.c')
-rw-r--r-- | arch/um/drivers/stdio_console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 0b1bca498049..a83c42c263b3 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c | |||
@@ -42,6 +42,7 @@ void stdio_announce(char *dev_name, int dev) | |||
42 | dev_name); | 42 | dev_name); |
43 | } | 43 | } |
44 | 44 | ||
45 | /* Almost const, except that xterm_title may be changed in an initcall */ | ||
45 | static struct chan_opts opts = { | 46 | static struct chan_opts opts = { |
46 | .announce = stdio_announce, | 47 | .announce = stdio_announce, |
47 | .xterm_title = "Virtual Console #%d", | 48 | .xterm_title = "Virtual Console #%d", |
@@ -144,7 +145,7 @@ static int uml_console_setup(struct console *co, char *options) | |||
144 | { | 145 | { |
145 | struct line *line = &vts[co->index]; | 146 | struct line *line = &vts[co->index]; |
146 | 147 | ||
147 | return console_open_chan(line, co, &opts); | 148 | return console_open_chan(line, co); |
148 | } | 149 | } |
149 | 150 | ||
150 | static struct console stdiocons = { | 151 | static struct console stdiocons = { |