diff options
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index da67abb1945e..5fe21357b55c 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -423,7 +423,7 @@ static void serial_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
423 | if (port->serial->type->set_termios) | 423 | if (port->serial->type->set_termios) |
424 | port->serial->type->set_termios(tty, port, old); | 424 | port->serial->type->set_termios(tty, port, old); |
425 | else | 425 | else |
426 | tty_termios_copy_hw(tty->termios, old); | 426 | tty_termios_copy_hw(&tty->termios, old); |
427 | } | 427 | } |
428 | 428 | ||
429 | static int serial_break(struct tty_struct *tty, int break_state) | 429 | static int serial_break(struct tty_struct *tty, int break_state) |