mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue