projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4154bb8
)
sparc64: vcc: make ktermios const
author
Bhumika Goyal
<bhumirks@gmail.com>
Mon, 28 Aug 2017 18:28:44 +0000
(23:58 +0530)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Aug 2017 22:10:44 +0000
(15:10 -0700)
Make this const as it is not modified anywhere.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/tty/vcc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/vcc.c
b/drivers/tty/vcc.c
index 716729129e01bae69e6fba49609b8826c6fb884d..ef01d24858cd659b9d667c964536fe6798bde6bb 100644
(file)
--- a/
drivers/tty/vcc.c
+++ b/
drivers/tty/vcc.c
@@
-102,7
+102,7
@@
module_param(vcc_dbg_vio, uint, 0664);
* 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,