Staging: unisys: visorbus: Make a read-only structure
authorMihaela Muraru <mihaela.muraru21@gmail.com>
Sat, 15 Oct 2016 22:41:14 +0000 (01:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 08:27:55 +0000 (10:27 +0200)
commita2d1e4285542bbe9f2851baed47b7f5c7eccba50
tree9c5087ef804871ac651d6393da2d63b0e70643b3
parentbd46a80110dcc5c0216ee25acd8b1303ab23455f
Staging: unisys: visorbus: Make a read-only structure

This patch add const qualifier at the declaration of the structure.
The structure become a read-only data, this increase the security.

Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c