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/wanrouter | |
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/wanrouter')
-rw-r--r-- | net/wanrouter/wanproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wanrouter/wanproc.c b/net/wanrouter/wanproc.c index 205106521ecb..236e7eaf1b7f 100644 --- a/net/wanrouter/wanproc.c +++ b/net/wanrouter/wanproc.c | |||
@@ -164,14 +164,14 @@ static int status_show(struct seq_file *m, void *v) | |||
164 | return 0; | 164 | return 0; |
165 | } | 165 | } |
166 | 166 | ||
167 | static struct seq_operations config_op = { | 167 | static const struct seq_operations config_op = { |
168 | .start = r_start, | 168 | .start = r_start, |
169 | .next = r_next, | 169 | .next = r_next, |
170 | .stop = r_stop, | 170 | .stop = r_stop, |
171 | .show = config_show, | 171 | .show = config_show, |
172 | }; | 172 | }; |
173 | 173 | ||
174 | static struct seq_operations status_op = { | 174 | static const struct seq_operations status_op = { |
175 | .start = r_start, | 175 | .start = r_start, |
176 | .next = r_next, | 176 | .next = r_next, |
177 | .stop = r_stop, | 177 | .stop = r_stop, |