mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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>
This commit is contained in:
parent
bd46a80110
commit
a2d1e42855
1 changed files with 1 additions and 1 deletions
|
|
@ -1317,7 +1317,7 @@ static struct attribute *visorchipset_install_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group visorchipset_install_group = {
|
||||
static const struct attribute_group visorchipset_install_group = {
|
||||
.name = "install",
|
||||
.attrs = visorchipset_install_attrs
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue