Skip to contentSkip to conversation

sparc64: vcc: make ktermios const

PATCH Applied Bhumika Goyal 2 participants 2 messages Aug 28, 2017 – Aug 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc64: vcc: make ktermios const

Make this const as it is not modified anywhere.

---
 drivers/tty/vcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/vcc.c +1 -1
index 5e60817..f7e07e1 100644
@@ -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,
Signature · 1 line
1.9.1