seq_file: constify seq_operations
[deliverable/linux.git] / kernel / trace / ftrace.c
index c71e91bf7372499efc0dec2a6ede46f9aa492d0a..23df7771c937acfab46e4f695950a69f35fbe44b 100644 (file)
@@ -1520,7 +1520,7 @@ static int t_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations show_ftrace_seq_ops = {
+static const struct seq_operations show_ftrace_seq_ops = {
        .start = t_start,
        .next = t_next,
        .stop = t_stop,
@@ -2459,7 +2459,7 @@ static int g_show(struct seq_file *m, void *v)
        return 0;
 }
 
-static struct seq_operations ftrace_graph_seq_ops = {
+static const struct seq_operations ftrace_graph_seq_ops = {
        .start = g_start,
        .next = g_next,
        .stop = g_stop,
This page took 0.028756 seconds and 5 git commands to generate.