diff --git a/fs/dlm/netlink.c b/fs/dlm/netlink.c index 1e6e227134d7..934ab0640610 100644 --- a/fs/dlm/netlink.c +++ b/fs/dlm/netlink.c @@ -69,7 +69,7 @@ static int user_cmd(struct sk_buff *skb, struct genl_info *info) return 0; } -static struct genl_ops dlm_nl_ops[] = { +static const struct genl_ops dlm_nl_ops[] = { { .cmd = DLM_CMD_HELLO, .doit = user_cmd,