]> git.decadent.org.uk Git - exar-uart-driver.git/blobdiff - vizzini.c
Update use of termios object
[exar-uart-driver.git] / vizzini.c
index 9c08e013b948a617e1ee104d143fb88f5dc6a614..4646098d5e75c352dc4f1cbb016656f5f1af9c8b 100644 (file)
--- a/vizzini.c
+++ b/vizzini.c
@@ -1093,7 +1093,7 @@ static void xr21v141x_tty_set_termios(struct tty_struct *tty,
         speed_t                  rate;
        unsigned int             format_size, format_parity, format_stop, flow, gpio_mode;
 
-       cflag = tty->termios->c_cflag;
+       cflag = tty->termios.c_cflag;
 
         xr21v141x->clocal = ((cflag & CLOCAL) != 0);