summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 21:25:05 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-02 10:03:53 +0200
commit5ca1b998d33c39819fca2b675d80c4469e705f2d (patch)
treefbe882f3908b6b57ae3fe54d13abb0067538276d /net/key
parentinet: inet_connection_sock_af_ops const (diff)
downloadlinux-5ca1b998d33c39819fca2b675d80c4469e705f2d.tar.xz
linux-5ca1b998d33c39819fca2b675d80c4469e705f2d.zip
net: file_operations should be const
All instances of file_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')
-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 7b1e99b5b4d2..4e98193dfa0f 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3718,7 +3718,7 @@ static int pfkey_seq_open(struct inode *inode, struct file *file)
sizeof(struct seq_net_private));
}
-static struct file_operations pfkey_proc_ops = {
+static const struct file_operations pfkey_proc_ops = {
.open = pfkey_seq_open,
.read = seq_read,
.llseek = seq_lseek,