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/ipx | |
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/ipx')
-rw-r--r-- | net/ipx/ipx_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipx/ipx_proc.c b/net/ipx/ipx_proc.c index db32ac8e79bd..4226e71ae1e3 100644 --- a/net/ipx/ipx_proc.c +++ b/net/ipx/ipx_proc.c | |||
@@ -286,21 +286,21 @@ out: | |||
286 | return 0; | 286 | return 0; |
287 | } | 287 | } |
288 | 288 | ||
289 | static struct seq_operations ipx_seq_interface_ops = { | 289 | static const struct seq_operations ipx_seq_interface_ops = { |
290 | .start = ipx_seq_interface_start, | 290 | .start = ipx_seq_interface_start, |
291 | .next = ipx_seq_interface_next, | 291 | .next = ipx_seq_interface_next, |
292 | .stop = ipx_seq_interface_stop, | 292 | .stop = ipx_seq_interface_stop, |
293 | .show = ipx_seq_interface_show, | 293 | .show = ipx_seq_interface_show, |
294 | }; | 294 | }; |
295 | 295 | ||
296 | static struct seq_operations ipx_seq_route_ops = { | 296 | static const struct seq_operations ipx_seq_route_ops = { |
297 | .start = ipx_seq_route_start, | 297 | .start = ipx_seq_route_start, |
298 | .next = ipx_seq_route_next, | 298 | .next = ipx_seq_route_next, |
299 | .stop = ipx_seq_route_stop, | 299 | .stop = ipx_seq_route_stop, |
300 | .show = ipx_seq_route_show, | 300 | .show = ipx_seq_route_show, |
301 | }; | 301 | }; |
302 | 302 | ||
303 | static struct seq_operations ipx_seq_socket_ops = { | 303 | static const struct seq_operations ipx_seq_socket_ops = { |
304 | .start = ipx_seq_socket_start, | 304 | .start = ipx_seq_socket_start, |
305 | .next = ipx_seq_socket_next, | 305 | .next = ipx_seq_socket_next, |
306 | .stop = ipx_seq_interface_stop, | 306 | .stop = ipx_seq_interface_stop, |