summaryrefslogtreecommitdiffstats
path: root/net/core/dev_mcast.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-12 14:34:29 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:25:03 -0700
commitf690808e17925fc45217eb22e8670902ecee5c1b (patch)
treeba677dd86988f4c77a728cc7408c21967e59400c /net/core/dev_mcast.c
parent6b2bedc3a659ba228a93afc8e3f008e152abf18a (diff)
downloadlinux-f690808e17925fc45217eb22e8670902ecee5c1b.tar.gz
linux-f690808e17925fc45217eb22e8670902ecee5c1b.tar.bz2
linux-f690808e17925fc45217eb22e8670902ecee5c1b.zip
[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/core/dev_mcast.c')
-rw-r--r--net/core/dev_mcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev_mcast.c b/net/core/dev_mcast.c
index 56b310c0c860..7d57bf77f3a3 100644
--- a/net/core/dev_mcast.c
+++ b/net/core/dev_mcast.c
@@ -264,7 +264,7 @@ static int dev_mc_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct seq_operations dev_mc_seq_ops = {
+static const struct seq_operations dev_mc_seq_ops = {
.start = dev_mc_seq_start,
.next = dev_mc_seq_next,
.stop = dev_mc_seq_stop,