Browse Source

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>
Bhumika Goyal 8 years ago
parent
commit
5bd0ea9107
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/vcc.c

+ 1 - 1
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,