Update use of termios object
authorJoel Stanley <joel@jms.id.au>
Mon, 2 Jun 2014 05:36:10 +0000 (15:06 +0930)
committerJoel Stanley <joel@jms.id.au>
Sun, 8 Jun 2014 04:43:48 +0000 (14:13 +0930)
commit2e70a32b66bedcbba4cc971f708015aa2cc360cc
tree1a8fd6234db374891d46e09c6bdaeaa5c0494abc
parentc0ef8f258f87a8da6ffec19f963f3d9a657dcd84
Update use of termios object

The following commit changed the api:

  commit adc8d746caa67fff4b53ba3e5163a6cbacc3b523
  Author: Alan Cox <alan@linux.intel.com>
  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 <joel@jms.id.au>
vizzini.c