mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -1328,7 +1328,7 @@ static int nr_info_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations nr_info_seqops = {
|
||||
static const struct seq_operations nr_info_seqops = {
|
||||
.start = nr_info_start,
|
||||
.next = nr_info_next,
|
||||
.stop = nr_info_stop,
|
||||
|
|
|
|||
|
|
@ -922,7 +922,7 @@ static int nr_node_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations nr_node_seqops = {
|
||||
static const struct seq_operations nr_node_seqops = {
|
||||
.start = nr_node_start,
|
||||
.next = nr_node_next,
|
||||
.stop = nr_node_stop,
|
||||
|
|
@ -1006,7 +1006,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations nr_neigh_seqops = {
|
||||
static const struct seq_operations nr_neigh_seqops = {
|
||||
.start = nr_neigh_start,
|
||||
.next = nr_neigh_next,
|
||||
.stop = nr_neigh_stop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue