summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-07-10 23:07:31 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-10 23:07:31 -0700
commit56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch)
tree7e29d70405d9c8e28ddee3b03a07157477fc780f /net/rxrpc
parent3be550f34b03e5eb762f74d447ebbeba97efbd6d (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.c4
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)
return 0;
}
-static struct seq_operations rxrpc_call_seq_ops = {
+static const struct seq_operations rxrpc_call_seq_ops = {
.start = rxrpc_call_seq_start,
.next = rxrpc_call_seq_next,
.stop = rxrpc_call_seq_stop,
@@ -170,7 +170,7 @@ static int rxrpc_connection_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct seq_operations rxrpc_connection_seq_ops = {
+static const struct seq_operations rxrpc_connection_seq_ops = {
.start = rxrpc_connection_seq_start,
.next = rxrpc_connection_seq_next,
.stop = rxrpc_connection_seq_stop,