diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-29 00:00:31 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-29 08:28:35 +0200 |
commit | 6ec6e80d11783c00bb96794688d0d51d0481c8d3 (patch) | |
tree | f16b2167e4852e0fd81d30268d1043b432552adb /drivers/tty | |
parent | d01c3289e7d68162e32bc08c2b65dd1a216a7ef8 (diff) | |
download | linux-6ec6e80d11783c00bb96794688d0d51d0481c8d3.tar.gz linux-6ec6e80d11783c00bb96794688d0d51d0481c8d3.tar.bz2 linux-6ec6e80d11783c00bb96794688d0d51d0481c8d3.zip |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/hvc/hvcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index 7320190a5886..63c29fe9d21f 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c @@ -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, |