[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:
Philippe De Muyter 2007-07-10 23:07:31 -07:00 • committed by David S. Miller
commit 56b3d975bb
56 changed files with 76 additions and 76 deletions

View file

@ -1024,7 +1024,7 @@ static int aarp_seq_show(struct seq_file *seq, void *v)
return 0;
}
static struct seq_operations aarp_seq_ops = {
static const struct seq_operations aarp_seq_ops = {
.start = aarp_seq_start,
.next = aarp_seq_next,
.stop = aarp_seq_stop,

View file

@ -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,