[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
@@ -204,21 +204,21 @@ out:
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations atalk_seq_interface_ops = {
|
||||
static const struct seq_operations atalk_seq_interface_ops = {
|
||||
.start = atalk_seq_interface_start,
|
||||
.next = atalk_seq_interface_next,
|
||||
.stop = atalk_seq_interface_stop,
|
||||
.show = atalk_seq_interface_show,
|
||||
};
|
||||
|
||||
static struct seq_operations atalk_seq_route_ops = {
|
||||
static const struct seq_operations atalk_seq_route_ops = {
|
||||
.start = atalk_seq_route_start,
|
||||
.next = atalk_seq_route_next,
|
||||
.stop = atalk_seq_route_stop,
|
||||
.show = atalk_seq_route_show,
|
||||
};
|
||||
|
||||
static struct seq_operations atalk_seq_socket_ops = {
|
||||
static const struct seq_operations atalk_seq_socket_ops = {
|
||||
.start = atalk_seq_socket_start,
|
||||
.next = atalk_seq_socket_next,
|
||||
.stop = atalk_seq_socket_stop,
|
||||
|
Reference in New Issue
Block a user