[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
@ -569,7 +569,7 @@ static void *dn_neigh_seq_start(struct seq_file *seq, loff_t *pos)
|
||||
NEIGH_SEQ_NEIGH_ONLY);
|
||||
}
|
||||
|
||||
static struct seq_operations dn_neigh_seq_ops = {
|
||||
static const struct seq_operations dn_neigh_seq_ops = {
|
||||
.start = dn_neigh_seq_start,
|
||||
.next = neigh_seq_next,
|
||||
.stop = neigh_seq_stop,
|
||||
|
Reference in New Issue
Block a user