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/rxrpc | |
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/rxrpc')
-rw-r--r-- | net/rxrpc/ar-proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/ar-proc.c b/net/rxrpc/ar-proc.c index 77cc5fb17dcd..2e83ce325d15 100644 --- a/net/rxrpc/ar-proc.c +++ b/net/rxrpc/ar-proc.c | |||
@@ -86,7 +86,7 @@ static int rxrpc_call_seq_show(struct seq_file *seq, void *v) | |||
86 | return 0; | 86 | return 0; |
87 | } | 87 | } |
88 | 88 | ||
89 | static struct seq_operations rxrpc_call_seq_ops = { | 89 | static const struct seq_operations rxrpc_call_seq_ops = { |
90 | .start = rxrpc_call_seq_start, | 90 | .start = rxrpc_call_seq_start, |
91 | .next = rxrpc_call_seq_next, | 91 | .next = rxrpc_call_seq_next, |
92 | .stop = rxrpc_call_seq_stop, | 92 | .stop = rxrpc_call_seq_stop, |
@@ -170,7 +170,7 @@ static int rxrpc_connection_seq_show(struct seq_file *seq, void *v) | |||
170 | return 0; | 170 | return 0; |
171 | } | 171 | } |
172 | 172 | ||
173 | static struct seq_operations rxrpc_connection_seq_ops = { | 173 | static const struct seq_operations rxrpc_connection_seq_ops = { |
174 | .start = rxrpc_connection_seq_start, | 174 | .start = rxrpc_connection_seq_start, |
175 | .next = rxrpc_connection_seq_next, | 175 | .next = rxrpc_connection_seq_next, |
176 | .stop = rxrpc_connection_seq_stop, | 176 | .stop = rxrpc_connection_seq_stop, |