summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-28 23:58:44 +0530
committerDavid S. Miller <davem@davemloft.net>2017-08-29 15:10:44 -0700
commit5bd0ea9107dca975dc4ba4d9de39b4938d2cb36d (patch)
treedb5ac2f4f8cffbf9051461637ac7c02dd59105e2 /drivers/tty
parent4154bb821f0bc63eab4de67f59058c5c2a718862 (diff)
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/vcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c
index 716729129e01..ef01d24858cd 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,