seq_file: constify seq_operations
[deliverable/linux.git] / kernel / trace / trace.c
index a35925d222baa5b8b31f54c86327e605552c1ec9..6c0f6a8a22ebd5eafce5adf55423d4302734cd18 100644 (file)
@@ -1949,7 +1949,7 @@ static int s_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations tracer_seq_ops = {
+static const struct seq_operations tracer_seq_ops = {
        .start          = s_start,
        .next           = s_next,
        .stop           = s_stop,
@@ -2163,7 +2163,7 @@ static int t_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations show_traces_seq_ops = {
+static const struct seq_operations show_traces_seq_ops = {
        .start          = t_start,
        .next           = t_next,
        .stop           = t_stop,
This page took 0.026234 seconds and 5 git commands to generate.