Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2d1e428 authored by Mihaela Muraru's avatar Mihaela Muraru Committed by Greg Kroah-Hartman
Browse files

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: default avatarMihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd46a801
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
};