diff options
author | Philippe De Muyter <phdm@macqel.be> | 2007-07-11 02:07:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-11 02:07:31 -0400 |
commit | 56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch) | |
tree | 7e29d70405d9c8e28ddee3b03a07157477fc780f /net/rose/rose_route.c | |
parent | 3be550f34b03e5eb762f74d447ebbeba97efbd6d (diff) |
[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose/rose_route.c')
-rw-r--r-- | net/rose/rose_route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 929a784a86d7..bbcbad1da0d0 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c | |||
@@ -1118,7 +1118,7 @@ static int rose_node_show(struct seq_file *seq, void *v) | |||
1118 | return 0; | 1118 | return 0; |
1119 | } | 1119 | } |
1120 | 1120 | ||
1121 | static struct seq_operations rose_node_seqops = { | 1121 | static const struct seq_operations rose_node_seqops = { |
1122 | .start = rose_node_start, | 1122 | .start = rose_node_start, |
1123 | .next = rose_node_next, | 1123 | .next = rose_node_next, |
1124 | .stop = rose_node_stop, | 1124 | .stop = rose_node_stop, |
@@ -1200,7 +1200,7 @@ static int rose_neigh_show(struct seq_file *seq, void *v) | |||
1200 | } | 1200 | } |
1201 | 1201 | ||
1202 | 1202 | ||
1203 | static struct seq_operations rose_neigh_seqops = { | 1203 | static const struct seq_operations rose_neigh_seqops = { |
1204 | .start = rose_neigh_start, | 1204 | .start = rose_neigh_start, |
1205 | .next = rose_neigh_next, | 1205 | .next = rose_neigh_next, |
1206 | .stop = rose_neigh_stop, | 1206 | .stop = rose_neigh_stop, |
@@ -1284,7 +1284,7 @@ static int rose_route_show(struct seq_file *seq, void *v) | |||
1284 | return 0; | 1284 | return 0; |
1285 | } | 1285 | } |
1286 | 1286 | ||
1287 | static struct seq_operations rose_route_seqops = { | 1287 | static const struct seq_operations rose_route_seqops = { |
1288 | .start = rose_route_start, | 1288 | .start = rose_route_start, |
1289 | .next = rose_route_next, | 1289 | .next = rose_route_next, |
1290 | .stop = rose_route_stop, | 1290 | .stop = rose_route_stop, |