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

Commit 53df8777 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Mauro Carvalho Chehab
Browse files

[media] media: rc: constify struct proto_names



Declare struct proto_names and its member name as const.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 9f0bf366
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -777,9 +777,9 @@ static struct class rc_class = {
 * used by the sysfs protocols file. Note that the order
 * of the entries is relevant.
 */
static struct {
static const struct {
	u64	type;
	char	*name;
	const char	*name;
	const char	*module_name;
} proto_names[] = {
	{ RC_BIT_NONE,		"none",		NULL			},