diff options
Diffstat (limited to 'drivers/usb/serial/console.c')
-rw-r--r-- | drivers/usb/serial/console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/console.c b/drivers/usb/serial/console.c index 72ab3bbf0f2..04007c31d88 100644 --- a/drivers/usb/serial/console.c +++ b/drivers/usb/serial/console.c | |||
@@ -192,8 +192,9 @@ static int usb_console_setup(struct console *co, char *options) | |||
192 | kfree (termios); | 192 | kfree (termios); |
193 | kfree (tty); | 193 | kfree (tty); |
194 | } | 194 | } |
195 | port->console = 1; | ||
195 | 196 | ||
196 | return retval; | 197 | return 0; |
197 | } | 198 | } |
198 | 199 | ||
199 | static void usb_console_write(struct console *co, const char *buf, unsigned count) | 200 | static void usb_console_write(struct console *co, const char *buf, unsigned count) |