aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/igmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r--net/ipv4/igmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index d17ad09a83e0..0687a7235a6c 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -2401,7 +2401,7 @@ static int igmp_mc_seq_show(struct seq_file *seq, void *v)
2401 return 0; 2401 return 0;
2402} 2402}
2403 2403
2404static struct seq_operations igmp_mc_seq_ops = { 2404static const struct seq_operations igmp_mc_seq_ops = {
2405 .start = igmp_mc_seq_start, 2405 .start = igmp_mc_seq_start,
2406 .next = igmp_mc_seq_next, 2406 .next = igmp_mc_seq_next,
2407 .stop = igmp_mc_seq_stop, 2407 .stop = igmp_mc_seq_stop,
@@ -2575,7 +2575,7 @@ static int igmp_mcf_seq_show(struct seq_file *seq, void *v)
2575 return 0; 2575 return 0;
2576} 2576}
2577 2577
2578static struct seq_operations igmp_mcf_seq_ops = { 2578static const struct seq_operations igmp_mcf_seq_ops = {
2579 .start = igmp_mcf_seq_start, 2579 .start = igmp_mcf_seq_start,
2580 .next = igmp_mcf_seq_next, 2580 .next = igmp_mcf_seq_next,
2581 .stop = igmp_mcf_seq_stop, 2581 .stop = igmp_mcf_seq_stop,