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/appletalk/atalk_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/appletalk/atalk_proc.c')
-rw-r--r-- | net/appletalk/atalk_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c index 57ff8122b5c5..87a582cc8111 100644 --- a/net/appletalk/atalk_proc.c +++ b/net/appletalk/atalk_proc.c | |||
@@ -204,21 +204,21 @@ out: | |||
204 | return 0; | 204 | return 0; |
205 | } | 205 | } |
206 | 206 | ||
207 | static struct seq_operations atalk_seq_interface_ops = { | 207 | static const struct seq_operations atalk_seq_interface_ops = { |
208 | .start = atalk_seq_interface_start, | 208 | .start = atalk_seq_interface_start, |
209 | .next = atalk_seq_interface_next, | 209 | .next = atalk_seq_interface_next, |
210 | .stop = atalk_seq_interface_stop, | 210 | .stop = atalk_seq_interface_stop, |
211 | .show = atalk_seq_interface_show, | 211 | .show = atalk_seq_interface_show, |
212 | }; | 212 | }; |
213 | 213 | ||
214 | static struct seq_operations atalk_seq_route_ops = { | 214 | static const struct seq_operations atalk_seq_route_ops = { |
215 | .start = atalk_seq_route_start, | 215 | .start = atalk_seq_route_start, |
216 | .next = atalk_seq_route_next, | 216 | .next = atalk_seq_route_next, |
217 | .stop = atalk_seq_route_stop, | 217 | .stop = atalk_seq_route_stop, |
218 | .show = atalk_seq_route_show, | 218 | .show = atalk_seq_route_show, |
219 | }; | 219 | }; |
220 | 220 | ||
221 | static struct seq_operations atalk_seq_socket_ops = { | 221 | static const struct seq_operations atalk_seq_socket_ops = { |
222 | .start = atalk_seq_socket_start, | 222 | .start = atalk_seq_socket_start, |
223 | .next = atalk_seq_socket_next, | 223 | .next = atalk_seq_socket_next, |
224 | .stop = atalk_seq_socket_stop, | 224 | .stop = atalk_seq_socket_stop, |