tty: hvcs: make ktermios const
PATCH 1/1 tty: hvcs: make ktermios const
Make this const as it is not modified anywhere.
Signed-off-by Bhumika Goyal <[email protected]>
--- drivers/tty/hvc/hvcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/hvc/hvcs.c +1 -1
@@ -189,7 +189,7 @@* 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 ,
Signature · 1 line
1.9.1
Quoted 3 lines · Bhumika Goyal
Make this const as it is not modified anywhere.
Signed-off-by Bhumika Goyal <[email protected]>
Reviewed-by Tyrel Datwyler <[email protected]>