tty: hvcs: make ktermios const
Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d01c3289e7
commit
6ec6e80d11
|
@ -189,7 +189,7 @@ MODULE_VERSION(HVCS_DRIVER_VERSION);
|
|||
* that will cause echoing or we'll go into recursive loop echoing chars back
|
||||
* and forth with the console drivers.
|
||||
*/
|
||||
static struct ktermios hvcs_tty_termios = {
|
||||
static const struct ktermios hvcs_tty_termios = {
|
||||
.c_iflag = IGNBRK | IGNPAR,
|
||||
.c_oflag = OPOST,
|
||||
.c_cflag = B38400 | CS8 | CREAD | HUPCL,
|
||||
|
|
Loading…
Reference in New Issue