From 2e70a32b66bedcbba4cc971f708015aa2cc360cc Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 2 Jun 2014 15:06:10 +0930 Subject: [PATCH] Update use of termios object MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The following commit changed the api: commit adc8d746caa67fff4b53ba3e5163a6cbacc3b523 Author: Alan Cox Date: Sat Jul 14 15:31:47 2012 +0100 tty: move the termios object into the tty This fixes the following build failure against 3.13: xr21v141x-lnx-3.5-pak/vizzini.c: In function ‘xr21v141x_tty_set_termios’: xr21v141x-lnx-3.5-pak/vizzini.c:1096:22: error: invalid type argument of ‘->’ (have ‘struct ktermios’) cflag = tty->termios->c_cflag; Signed-off-by: Joel Stanley --- vizzini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vizzini.c b/vizzini.c index 9c08e01..4646098 100644 --- 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); -- 2.39.2