1
0
Fork 0

[media] media: rc: constify struct proto_names

Declare struct proto_names and its member name as const.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
hifive-unleashed-5.1
Heiner Kallweit 2015-11-16 17:52:17 -02:00 committed by Mauro Carvalho Chehab
parent 9f0bf366d7
commit 53df877717
1 changed files with 2 additions and 2 deletions

View File

@ -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 },