diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 15:25:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 04:03:39 -0400 |
commit | 98147d527a038c4aab599e57323a4e5d727c28a6 (patch) | |
tree | 0a9b012258f5f05d1308adc282741d32aa0958f0 /net/key/af_key.c | |
parent | 0fc0b732eaa38beb93a6fb62f77c7bd9622c76ec (diff) |
net: seq_operations should be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key/af_key.c')
-rw-r--r-- | net/key/af_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index dba9abd27f90..7b1e99b5b4d2 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -3705,7 +3705,7 @@ static void pfkey_seq_stop(struct seq_file *f, void *v) | |||
3705 | read_unlock(&pfkey_table_lock); | 3705 | read_unlock(&pfkey_table_lock); |
3706 | } | 3706 | } |
3707 | 3707 | ||
3708 | static struct seq_operations pfkey_seq_ops = { | 3708 | static const struct seq_operations pfkey_seq_ops = { |
3709 | .start = pfkey_seq_start, | 3709 | .start = pfkey_seq_start, |
3710 | .next = pfkey_seq_next, | 3710 | .next = pfkey_seq_next, |
3711 | .stop = pfkey_seq_stop, | 3711 | .stop = pfkey_seq_stop, |