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
|
|
@ -395,7 +395,7 @@ static int discovery_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations discovery_seq_ops = {
|
||||
static const struct seq_operations discovery_seq_ops = {
|
||||
.start = discovery_seq_start,
|
||||
.next = discovery_seq_next,
|
||||
.stop = discovery_seq_stop,
|
||||
|
|
|
|||
|
|
@ -562,7 +562,7 @@ static int ircomm_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations ircomm_seq_ops = {
|
||||
static const struct seq_operations ircomm_seq_ops = {
|
||||
.start = ircomm_seq_start,
|
||||
.next = ircomm_seq_next,
|
||||
.stop = ircomm_seq_stop,
|
||||
|
|
|
|||
|
|
@ -1066,7 +1066,7 @@ static int irias_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations irias_seq_ops = {
|
||||
static const struct seq_operations irias_seq_ops = {
|
||||
.start = irias_seq_start,
|
||||
.next = irias_seq_next,
|
||||
.stop = irias_seq_stop,
|
||||
|
|
|
|||
|
|
@ -1217,7 +1217,7 @@ static int irlan_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations irlan_seq_ops = {
|
||||
static const struct seq_operations irlan_seq_ops = {
|
||||
.start = irlan_seq_start,
|
||||
.next = irlan_seq_next,
|
||||
.stop = irlan_seq_stop,
|
||||
|
|
|
|||
|
|
@ -1210,7 +1210,7 @@ static int irlap_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations irlap_seq_ops = {
|
||||
static const struct seq_operations irlap_seq_ops = {
|
||||
.start = irlap_seq_start,
|
||||
.next = irlap_seq_next,
|
||||
.stop = irlap_seq_stop,
|
||||
|
|
|
|||
|
|
@ -1994,7 +1994,7 @@ static int irlmp_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations irlmp_seq_ops = {
|
||||
static const struct seq_operations irlmp_seq_ops = {
|
||||
.start = irlmp_seq_start,
|
||||
.next = irlmp_seq_next,
|
||||
.stop = irlmp_seq_stop,
|
||||
|
|
|
|||
|
|
@ -1875,7 +1875,7 @@ static int irttp_seq_show(struct seq_file *seq, void *v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations irttp_seq_ops = {
|
||||
static const struct seq_operations irttp_seq_ops = {
|
||||
.start = irttp_seq_start,
|
||||
.next = irttp_seq_next,
|
||||
.stop = irttp_seq_stop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue