aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-29 00:00:31 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-29 08:28:35 +0200
commit6ec6e80d11783c00bb96794688d0d51d0481c8d3 (patch)
treef16b2167e4852e0fd81d30268d1043b432552adb /drivers/tty
parentpty: show associative slave of ptmx in fdinfo (diff)
downloadlinux-dev-6ec6e80d11783c00bb96794688d0d51d0481c8d3.tar.xz
linux-dev-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.c2
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,