[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>
This commit is contained in:

committed by
David S. Miller

parent
3be550f34b
commit
56b3d975bb
@@ -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,
|
||||
|
Reference in New Issue
Block a user