From: Bhumika Goyal Date: Mon, 28 Aug 2017 18:28:44 +0000 (+0530) Subject: sparc64: vcc: make ktermios const X-Git-Tag: v4.14-rc1~69^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bd0ea9107dca975dc4ba4d9de39b4938d2cb36d;p=thirdparty%2Flinux.git sparc64: vcc: make ktermios const Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal Signed-off-by: David S. Miller --- diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c index 716729129e01b..ef01d24858cd6 100644 --- a/drivers/tty/vcc.c +++ b/drivers/tty/vcc.c @@ -102,7 +102,7 @@ module_param(vcc_dbg_vio, uint, 0664); * add anything that will cause echoing or we'll go into recursive * loop echoing chars back and forth with the console drivers. */ -static struct ktermios vcc_tty_termios = { +static const struct ktermios vcc_tty_termios = { .c_iflag = IGNBRK | IGNPAR, .c_oflag = OPOST, .c_cflag = B38400 | CS8 | CREAD | HUPCL,