[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
@@ -69,7 +69,7 @@ static const char name_conf[] = "config";
|
||||
* Generic /proc/net/vlan/<file> file and inode operations
|
||||
*/
|
||||
|
||||
static struct seq_operations vlan_seq_ops = {
|
||||
static const struct seq_operations vlan_seq_ops = {
|
||||
.start = vlan_seq_start,
|
||||
.next = vlan_seq_next,
|
||||
.stop = vlan_seq_stop,
|
||||
|
Reference in New Issue
Block a user