提交 6ec6e80d 编写于 作者: B Bhumika Goyal 提交者: Greg Kroah-Hartman

tty: hvcs: make ktermios const

Make this const as it is not modified anywhere.
Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
Reviewed-by: NTyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d01c3289
...@@ -189,7 +189,7 @@ MODULE_VERSION(HVCS_DRIVER_VERSION); ...@@ -189,7 +189,7 @@ MODULE_VERSION(HVCS_DRIVER_VERSION);
* that will cause echoing or we'll go into recursive loop echoing chars back * that will cause echoing or we'll go into recursive loop echoing chars back
* and forth with the console drivers. * and forth with the console drivers.
*/ */
static struct ktermios hvcs_tty_termios = { static const struct ktermios hvcs_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.
先完成此消息的编辑!
想要评论请 注册