diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2013-04-27 01:36:30 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javier@dowhile0.org> | 2013-04-27 01:48:13 +0200 |
commit | b18a1db4a4e63a02f87ce2fee745b5b0932bbfb5 (patch) | |
tree | 6fe4101c13109e2e30d75ad498da7e8002db490e /tty/tiny_tty.c | |
parent | d9c53b5a84cc98e901b5eb0bdd925edecbe334d7 (diff) | |
download | ldd3-b18a1db4a4e63a02f87ce2fee745b5b0932bbfb5.tar.gz |
tty: update termios access due tty_struct changes
commit adc8d746 ("tty: move the termios object into the tty")
moved the struct ktermios inside struct tty_struct instead of
keeping just a pointer to it. So, let's update the access to
termios according to this change.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Diffstat (limited to 'tty/tiny_tty.c')
-rw-r--r-- | tty/tiny_tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tty/tiny_tty.c b/tty/tiny_tty.c index b63e443..889c789 100644 --- a/tty/tiny_tty.c +++ b/tty/tiny_tty.c @@ -232,12 +232,12 @@ static void tiny_set_termios(struct tty_struct *tty, struct ktermios *old_termio { unsigned int cflag; - cflag = tty->termios->c_cflag; + cflag = tty->termios.c_cflag; /* check that they really want us to change something */ if (old_termios) { if ((cflag == old_termios->c_cflag) && - (RELEVANT_IFLAG(tty->termios->c_iflag) == + (RELEVANT_IFLAG(tty->termios.c_iflag) == RELEVANT_IFLAG(old_termios->c_iflag))) { printk(KERN_DEBUG " - nothing to change...\n"); return; |