]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/strip.c
[PATCH] tty: preparatory structures for termios revamp
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / strip.c
index 337c692f6fd66e98ba057cc46fc38b9a7e5fdad0..ce3a8bac66ffb55d6d145b544d1b46e133caeaf6 100644 (file)
@@ -798,7 +798,7 @@ static unsigned int get_baud(struct tty_struct *tty)
  */
 static void set_baud(struct tty_struct *tty, unsigned int baudcode)
 {
-       struct termios old_termios = *(tty->termios);
+       struct ktermios old_termios = *(tty->termios);
        tty->termios->c_cflag &= ~CBAUD;        /* Clear the old baud setting */
        tty->termios->c_cflag |= baudcode;      /* Set the new baud setting */
        tty->driver->set_termios(tty, &old_termios);