]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/cgroup.c
seq_file: constify seq_operations
[net-next-2.6.git] / kernel / cgroup.c
index 213b7f92fcdd6159b1af60d150b1d1887a4e7364..cd83d9933b6b85cd05bf6db17f424056d2d504fc 100644 (file)
@@ -2314,7 +2314,7 @@ static int cgroup_tasks_show(struct seq_file *s, void *v)
        return seq_printf(s, "%d\n", *(int *)v);
 }
 
-static struct seq_operations cgroup_tasks_seq_operations = {
+static const struct seq_operations cgroup_tasks_seq_operations = {
        .start = cgroup_tasks_start,
        .stop = cgroup_tasks_stop,
        .next = cgroup_tasks_next,