提交 5bd0ea91 编写于 作者: B Bhumika Goyal 提交者: David S. Miller

sparc64: vcc: make ktermios const

Make this const as it is not modified anywhere.
Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4154bb82
...@@ -102,7 +102,7 @@ module_param(vcc_dbg_vio, uint, 0664); ...@@ -102,7 +102,7 @@ module_param(vcc_dbg_vio, uint, 0664);
* add anything that will cause echoing or we'll go into recursive * add anything that will cause echoing or we'll go into recursive
* loop echoing chars back and forth with the console drivers. * 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_iflag = IGNBRK | IGNPAR,
.c_oflag = OPOST, .c_oflag = OPOST,
.c_cflag = B38400 | CS8 | CREAD | HUPCL, .c_cflag = B38400 | CS8 | CREAD | HUPCL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册