tty: move the termios object into the tty
[deliverable/linux.git] / drivers / usb / serial / ftdi_sio.c
index bc912e5a3bebddf3073fe17e015b6195be3708be..4b8b41a3351f7004c294d7a31c75d062fc7c6dda 100644 (file)
@@ -2081,7 +2081,7 @@ static void ftdi_set_termios(struct tty_struct *tty,
 {
        struct usb_device *dev = port->serial->dev;
        struct ftdi_private *priv = usb_get_serial_port_data(port);
-       struct ktermios *termios = tty->termios;
+       struct ktermios *termios = &tty->termios;
        unsigned int cflag = termios->c_cflag;
        __u16 urb_value; /* will hold the new flags */
 
This page took 0.023956 seconds and 5 git commands to generate.