diff options
Diffstat (limited to 'net/key/af_key.c')
-rw-r--r-- | net/key/af_key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index dba9abd27f90..4e98193dfa0f 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, |
@@ -3718,7 +3718,7 @@ static int pfkey_seq_open(struct inode *inode, struct file *file) | |||
3718 | sizeof(struct seq_net_private)); | 3718 | sizeof(struct seq_net_private)); |
3719 | } | 3719 | } |
3720 | 3720 | ||
3721 | static struct file_operations pfkey_proc_ops = { | 3721 | static const struct file_operations pfkey_proc_ops = { |
3722 | .open = pfkey_seq_open, | 3722 | .open = pfkey_seq_open, |
3723 | .read = seq_read, | 3723 | .read = seq_read, |
3724 | .llseek = seq_lseek, | 3724 | .llseek = seq_lseek, |