[PATCH] sparc64: vcc: make ktermios const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make this const as it is not modified anywhere.

Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>
---
 drivers/tty/vcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c
index 5e60817..f7e07e1 100644
--- a/drivers/tty/vcc.c
+++ b/drivers/tty/vcc.c
@@ -102,7 +102,7 @@ struct vcc_port {
  * add anything that will cause echoing or we'll go into recursive
  * loop echoing chars back and forth with the console drivers.
  */
-static struct ktermios vcc_tty_termios = {
+static const struct ktermios vcc_tty_termios = {
 	.c_iflag = IGNBRK | IGNPAR,
 	.c_oflag = OPOST,
 	.c_cflag = B38400 | CS8 | CREAD | HUPCL,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux