]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/rxrpc/ar-proc.c
[NET]: Make all initialized struct seq_operations const.
[net-next-2.6.git] / net / rxrpc / ar-proc.c
index 77cc5fb17dcd11e27e1ef9b888f8d178bf929fec..2e83ce325d151e090e05cc0c18e2de55cd82a04d 100644 (file)
@@ -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,