[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
@ -1328,7 +1328,7 @@ static int nr_info_show(struct seq_file *seq, void *v)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations nr_info_seqops = {
|
||||
static const struct seq_operations nr_info_seqops = {
|
||||
.start = nr_info_start,
|
||||
.next = nr_info_next,
|
||||
.stop = nr_info_stop,
|
||||
|
Reference in New Issue
Block a user