]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/netrom/nr_route.c
[NET]: Make all initialized struct seq_operations const.
[net-next-2.6.git] / net / netrom / nr_route.c
index 2f76e062609d581b7ab7066c017fa9bf5e651983..24fe4a66d297d37ebc9600c3e15f263122a53d30 100644 (file)
@@ -922,7 +922,7 @@ static int nr_node_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations nr_node_seqops = {
+static const struct seq_operations nr_node_seqops = {
        .start = nr_node_start,
        .next = nr_node_next,
        .stop = nr_node_stop,
@@ -1006,7 +1006,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations nr_neigh_seqops = {
+static const struct seq_operations nr_neigh_seqops = {
        .start = nr_neigh_start,
        .next = nr_neigh_next,
        .stop = nr_neigh_stop,