mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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:
parent
3be550f34b
commit
56b3d975bb
56 changed files with 76 additions and 76 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue