mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const Signed-off-by: Philippe De Muyter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
3be550f34b
commit
56b3d975bb
56 changed files with 76 additions and 76 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue