staging: dgnc: Add const qualifier to struct declaration.
authorElise Lennion <elise.lennion@gmail.com>
Sat, 15 Oct 2016 00:35:13 +0000 (21:35 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 07:46:58 +0000 (09:46 +0200)
commitd44e0e5ddc3ec4c7387a4044ede659781babc329
tree0c58a6dd3be4187d00125fcc6a5115e19affef34
parent6aab2d7eacb078d2ad9b6ca5245521a7886e5d29
staging: dgnc: Add const qualifier to struct declaration.

Const qualifier added to struct declaration to avoid data overwrite
during runtime and improve security.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_tty.c