• Jiri Slaby's avatar
    TTY: 68328serial, fix compilation · 3dd332c5
    Jiri Slaby authored
    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: default avatarJiri Slaby <jslaby@suse.cz>
    Acked-by: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    3dd332c5
68328serial.c 31.8 KB