tty: add missing const to termios hw-change helper
authorJohan Hovold <johan@kernel.org>
Mon, 21 May 2018 11:08:44 +0000 (13:08 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 22 May 2018 08:08:05 +0000 (10:08 +0200)
commit7b0c6b38c4f9f9736ccd41363b3cfd7143e1f823
tree156c532f1176791fe7e09e51f61a2c473c327e91
parentdf1cd63d6d112e4a1402166dacc411ccca9b09ac
tty: add missing const to termios hw-change helper

Add missing const qualifiers to the parameters of the termios hw-change
helper, which is used by a few USB serial drivers. This specifically
allows the pl2303 driver to use const arguments in one of its helper as
well.

Cc: Jiri Slaby <jslaby@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/tty/tty_ioctl.c
include/linux/tty.h