mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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
|
|
@ -1924,7 +1924,7 @@ static int ax25_info_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations ax25_info_seqops = {
|
||||
static const struct seq_operations ax25_info_seqops = {
|
||||
.start = ax25_info_start,
|
||||
.next = ax25_info_next,
|
||||
.stop = ax25_info_stop,
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ static int ax25_rt_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations ax25_rt_seqops = {
|
||||
static const struct seq_operations ax25_rt_seqops = {
|
||||
.start = ax25_rt_seq_start,
|
||||
.next = ax25_rt_seq_next,
|
||||
.stop = ax25_rt_seq_stop,
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ static int ax25_uid_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations ax25_uid_seqops = {
|
||||
static const struct seq_operations ax25_uid_seqops = {
|
||||
.start = ax25_uid_seq_start,
|
||||
.next = ax25_uid_seq_next,
|
||||
.stop = ax25_uid_seq_stop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue