summaryrefslogtreecommitdiff
path: root/net/key/af_key.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 23:25:02 +0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 12:03:39 +0400
commit98147d527a038c4aab599e57323a4e5d727c28a6 (patch)
tree0a9b012258f5f05d1308adc282741d32aa0958f0 /net/key/af_key.c
parent0fc0b732eaa38beb93a6fb62f77c7bd9622c76ec (diff)
downloadlinux-98147d527a038c4aab599e57323a4e5d727c28a6.tar.xz
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.c2
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)
read_unlock(&pfkey_table_lock);
}
-static struct seq_operations pfkey_seq_ops = {
+static const struct seq_operations pfkey_seq_ops = {
.start = pfkey_seq_start,
.next = pfkey_seq_next,
.stop = pfkey_seq_stop,