aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/taskstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 609e77f68687..76595cd9d211 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -673,7 +673,7 @@ err:
673 nlmsg_free(rep_skb); 673 nlmsg_free(rep_skb);
674} 674}
675 675
676static struct genl_ops taskstats_ops[] = { 676static const struct genl_ops taskstats_ops[] = {
677 { 677 {
678 .cmd = TASKSTATS_CMD_GET, 678 .cmd = TASKSTATS_CMD_GET,
679 .doit = taskstats_user_cmd, 679 .doit = taskstats_user_cmd,