From: Bhumika Goyal Date: Mon, 28 Aug 2017 18:30:31 +0000 (+0530) Subject: tty: hvcs: make ktermios const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ec6e80d11783c00bb96794688d0d51d0481c8d3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git tty: hvcs: make ktermios const Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal Reviewed-by: Tyrel Datwyler Signed-off-by: Greg Kroah-Hartman --- 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,