diff options
| author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-28 14:30:31 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-29 02:28:35 -0400 |
| commit | 6ec6e80d11783c00bb96794688d0d51d0481c8d3 (patch) | |
| tree | f16b2167e4852e0fd81d30268d1043b432552adb /drivers/tty/hvc | |
| parent | d01c3289e7d68162e32bc08c2b65dd1a216a7ef8 (diff) | |
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/hvc')
| -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); | |||
| 189 | * that will cause echoing or we'll go into recursive loop echoing chars back | 189 | * that will cause echoing or we'll go into recursive loop echoing chars back |
| 190 | * and forth with the console drivers. | 190 | * and forth with the console drivers. |
| 191 | */ | 191 | */ |
| 192 | static struct ktermios hvcs_tty_termios = { | 192 | static const struct ktermios hvcs_tty_termios = { |
| 193 | .c_iflag = IGNBRK | IGNPAR, | 193 | .c_iflag = IGNBRK | IGNPAR, |
| 194 | .c_oflag = OPOST, | 194 | .c_oflag = OPOST, |
| 195 | .c_cflag = B38400 | CS8 | CREAD | HUPCL, | 195 | .c_cflag = B38400 | CS8 | CREAD | HUPCL, |
