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/x25/x25_proc.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/x25/x25_proc.c')
-rw-r--r-- | net/x25/x25_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c index 96001f0c64fc..7405b9c5b7f2 100644 --- a/net/x25/x25_proc.c +++ b/net/x25/x25_proc.c | |||
@@ -234,21 +234,21 @@ out: | |||
234 | return 0; | 234 | return 0; |
235 | } | 235 | } |
236 | 236 | ||
237 | static struct seq_operations x25_seq_route_ops = { | 237 | static const struct seq_operations x25_seq_route_ops = { |
238 | .start = x25_seq_route_start, | 238 | .start = x25_seq_route_start, |
239 | .next = x25_seq_route_next, | 239 | .next = x25_seq_route_next, |
240 | .stop = x25_seq_route_stop, | 240 | .stop = x25_seq_route_stop, |
241 | .show = x25_seq_route_show, | 241 | .show = x25_seq_route_show, |
242 | }; | 242 | }; |
243 | 243 | ||
244 | static struct seq_operations x25_seq_socket_ops = { | 244 | static const struct seq_operations x25_seq_socket_ops = { |
245 | .start = x25_seq_socket_start, | 245 | .start = x25_seq_socket_start, |
246 | .next = x25_seq_socket_next, | 246 | .next = x25_seq_socket_next, |
247 | .stop = x25_seq_socket_stop, | 247 | .stop = x25_seq_socket_stop, |
248 | .show = x25_seq_socket_show, | 248 | .show = x25_seq_socket_show, |
249 | }; | 249 | }; |
250 | 250 | ||
251 | static struct seq_operations x25_seq_forward_ops = { | 251 | static const struct seq_operations x25_seq_forward_ops = { |
252 | .start = x25_seq_forward_start, | 252 | .start = x25_seq_forward_start, |
253 | .next = x25_seq_forward_next, | 253 | .next = x25_seq_forward_next, |
254 | .stop = x25_seq_forward_stop, | 254 | .stop = x25_seq_forward_stop, |