Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc64: vcc: make ktermios const

Make this const as it is not modified anywhere.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Bhumika Goyal and committed by
David S. Miller
5bd0ea91 4154bb82

+1 -1
+1 -1
drivers/tty/vcc.c
··· 102 102 * add anything that will cause echoing or we'll go into recursive 103 103 * loop echoing chars back and forth with the console drivers. 104 104 */ 105 - static struct ktermios vcc_tty_termios = { 105 + static const struct ktermios vcc_tty_termios = { 106 106 .c_iflag = IGNBRK | IGNPAR, 107 107 .c_oflag = OPOST, 108 108 .c_cflag = B38400 | CS8 | CREAD | HUPCL,