]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sctp/proc.c
[NET]: Make all initialized struct seq_operations const.
[net-next-2.6.git] / net / sctp / proc.c
index 2f12bf2d8d3c622f5f134cf1fa3308d7fab015fd..e4cd841a22e478793e85e2701dc4da30b60db4b7 100644 (file)
@@ -250,7 +250,7 @@ static int sctp_eps_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations sctp_eps_ops = {
+static const struct seq_operations sctp_eps_ops = {
        .start = sctp_eps_seq_start,
        .next  = sctp_eps_seq_next,
        .stop  = sctp_eps_seq_stop,
@@ -361,7 +361,7 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations sctp_assoc_ops = {
+static const struct seq_operations sctp_assoc_ops = {
        .start = sctp_assocs_seq_start,
        .next  = sctp_assocs_seq_next,
        .stop  = sctp_assocs_seq_stop,