提交 53df8777 编写于 作者: H Heiner Kallweit 提交者: Mauro Carvalho Chehab

[media] media: rc: constify struct proto_names

Declare struct proto_names and its member name as const.
Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 9f0bf366
......@@ -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 },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册