tty: move the termios object into the tty
[deliverable/linux.git] / drivers / usb / serial / usb-serial.c
index da67abb1945ed488f5db2f7e4090a98bbd3d3960..5fe21357b55cd8bb15bc364eff53f1116f2a2b2c 100644 (file)
@@ -423,7 +423,7 @@ static void serial_set_termios(struct tty_struct *tty, struct ktermios *old)
        if (port->serial->type->set_termios)
                port->serial->type->set_termios(tty, port, old);
        else
-               tty_termios_copy_hw(tty->termios, old);
+               tty_termios_copy_hw(&tty->termios, old);
 }
 
 static int serial_break(struct tty_struct *tty, int break_state)
This page took 0.03096 seconds and 5 git commands to generate.