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/fib_hash.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/fib_hash.c')
-rw-r--r-- | net/ipv4/fib_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_hash.c b/net/ipv4/fib_hash.c index a4949f957ab5..9cfecf1215c9 100644 --- a/net/ipv4/fib_hash.c +++ b/net/ipv4/fib_hash.c | |||
@@ -1027,7 +1027,7 @@ out: | |||
1027 | return 0; | 1027 | return 0; |
1028 | } | 1028 | } |
1029 | 1029 | ||
1030 | static struct seq_operations fib_seq_ops = { | 1030 | static const struct seq_operations fib_seq_ops = { |
1031 | .start = fib_seq_start, | 1031 | .start = fib_seq_start, |
1032 | .next = fib_seq_next, | 1032 | .next = fib_seq_next, |
1033 | .stop = fib_seq_stop, | 1033 | .stop = fib_seq_stop, |