]> Pileus Git - ~andy/linux/commit
TTY: 68328serial, fix compilation
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:27 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:27:50 +0000 (13:27 -0700)
commit3dd332c553996eec2593110b05abf8a4819b5c28
tree8841ed6a19c4aa37f286051184d1e25f41707ac4
parent6f9ea7ad7be10dca95e7ca57221c5f81be48d852
TTY: 68328serial, fix compilation

tty_struct->termios is no longer a pointer. This was changed recently
by "tty: move the termios object into the tty". But 68328serial was
not changed, so we now have a compilation error:
68328serial.c: In function 'change_speed':
68328serial.c:518:22: error: invalid type argument of '->' (have 'struct ktermios')
68328serial.c: In function 'rs_set_ldisc':
68328serial.c:620:31: error: invalid type argument of '->' (have 'struct ktermios')
68328serial.c: In function 'rs_set_termios':
68328serial.c:988:20: error: invalid type argument of '->' (have 'struct ktermios')

Fix that now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/68328serial.c