genetlink: make all genl_ops users const
[deliverable/linux.git] / net / irda / irnetlink.c
index c32971269280116543c0bf560e1bbc3248df034d..bf5d7d476daefdb37f57e9354b795b0d875c7a23 100644 (file)
@@ -131,7 +131,7 @@ static const struct nla_policy irda_nl_policy[IRDA_NL_ATTR_MAX + 1] = {
        [IRDA_NL_ATTR_MODE] = { .type = NLA_U32 },
 };
 
-static struct genl_ops irda_nl_ops[] = {
+static const struct genl_ops irda_nl_ops[] = {
        {
                .cmd = IRDA_NL_CMD_SET_MODE,
                .doit = irda_nl_set_mode,
This page took 0.025277 seconds and 5 git commands to generate.