genetlink: make all genl_ops users const
[cascardo/linux.git] / kernel / taskstats.c
index 609e77f..76595cd 100644 (file)
@@ -673,7 +673,7 @@ err:
        nlmsg_free(rep_skb);
 }
 
-static struct genl_ops taskstats_ops[] = {
+static const struct genl_ops taskstats_ops[] = {
        {
                .cmd            = TASKSTATS_CMD_GET,
                .doit           = taskstats_user_cmd,