diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index d29861844903..e50ad7dbbde8 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -364,7 +364,7 @@ static int rt_cache_seq_show(struct seq_file *seq, void *v) | |||
364 | return 0; | 364 | return 0; |
365 | } | 365 | } |
366 | 366 | ||
367 | static struct seq_operations rt_cache_seq_ops = { | 367 | static const struct seq_operations rt_cache_seq_ops = { |
368 | .start = rt_cache_seq_start, | 368 | .start = rt_cache_seq_start, |
369 | .next = rt_cache_seq_next, | 369 | .next = rt_cache_seq_next, |
370 | .stop = rt_cache_seq_stop, | 370 | .stop = rt_cache_seq_stop, |
@@ -470,7 +470,7 @@ static int rt_cpu_seq_show(struct seq_file *seq, void *v) | |||
470 | return 0; | 470 | return 0; |
471 | } | 471 | } |
472 | 472 | ||
473 | static struct seq_operations rt_cpu_seq_ops = { | 473 | static const struct seq_operations rt_cpu_seq_ops = { |
474 | .start = rt_cpu_seq_start, | 474 | .start = rt_cpu_seq_start, |
475 | .next = rt_cpu_seq_next, | 475 | .next = rt_cpu_seq_next, |
476 | .stop = rt_cpu_seq_stop, | 476 | .stop = rt_cpu_seq_stop, |