diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-03-12 17:34:29 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:25:03 -0400 |
commit | f690808e17925fc45217eb22e8670902ecee5c1b (patch) | |
tree | ba677dd86988f4c77a728cc7408c21967e59400c /net/ipv4/ipmr.c | |
parent | 6b2bedc3a659ba228a93afc8e3f008e152abf18a (diff) |
[NET]: make seq_operations const
The seq_file operations stuff can be marked constant to
get it out of dirty cache.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 465459d59b21..8c4de92c1a99 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -1683,7 +1683,7 @@ static int ipmr_vif_seq_show(struct seq_file *seq, void *v) | |||
1683 | return 0; | 1683 | return 0; |
1684 | } | 1684 | } |
1685 | 1685 | ||
1686 | static struct seq_operations ipmr_vif_seq_ops = { | 1686 | static const struct seq_operations ipmr_vif_seq_ops = { |
1687 | .start = ipmr_vif_seq_start, | 1687 | .start = ipmr_vif_seq_start, |
1688 | .next = ipmr_vif_seq_next, | 1688 | .next = ipmr_vif_seq_next, |
1689 | .stop = ipmr_vif_seq_stop, | 1689 | .stop = ipmr_vif_seq_stop, |
@@ -1846,7 +1846,7 @@ static int ipmr_mfc_seq_show(struct seq_file *seq, void *v) | |||
1846 | return 0; | 1846 | return 0; |
1847 | } | 1847 | } |
1848 | 1848 | ||
1849 | static struct seq_operations ipmr_mfc_seq_ops = { | 1849 | static const struct seq_operations ipmr_mfc_seq_ops = { |
1850 | .start = ipmr_mfc_seq_start, | 1850 | .start = ipmr_mfc_seq_start, |
1851 | .next = ipmr_mfc_seq_next, | 1851 | .next = ipmr_mfc_seq_next, |
1852 | .stop = ipmr_mfc_seq_stop, | 1852 | .stop = ipmr_mfc_seq_stop, |