diff options
Diffstat (limited to 'net/sctp/proc.c')
-rw-r--r-- | net/sctp/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c index e93fc1cc430a..2f12bf2d8d3c 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c | |||
@@ -114,7 +114,7 @@ static int sctp_snmp_seq_open(struct inode *inode, struct file *file) | |||
114 | return single_open(file, sctp_snmp_seq_show, NULL); | 114 | return single_open(file, sctp_snmp_seq_show, NULL); |
115 | } | 115 | } |
116 | 116 | ||
117 | static struct file_operations sctp_snmp_seq_fops = { | 117 | static const struct file_operations sctp_snmp_seq_fops = { |
118 | .owner = THIS_MODULE, | 118 | .owner = THIS_MODULE, |
119 | .open = sctp_snmp_seq_open, | 119 | .open = sctp_snmp_seq_open, |
120 | .read = seq_read, | 120 | .read = seq_read, |
@@ -264,7 +264,7 @@ static int sctp_eps_seq_open(struct inode *inode, struct file *file) | |||
264 | return seq_open(file, &sctp_eps_ops); | 264 | return seq_open(file, &sctp_eps_ops); |
265 | } | 265 | } |
266 | 266 | ||
267 | static struct file_operations sctp_eps_seq_fops = { | 267 | static const struct file_operations sctp_eps_seq_fops = { |
268 | .open = sctp_eps_seq_open, | 268 | .open = sctp_eps_seq_open, |
269 | .read = seq_read, | 269 | .read = seq_read, |
270 | .llseek = seq_lseek, | 270 | .llseek = seq_lseek, |
@@ -374,7 +374,7 @@ static int sctp_assocs_seq_open(struct inode *inode, struct file *file) | |||
374 | return seq_open(file, &sctp_assoc_ops); | 374 | return seq_open(file, &sctp_assoc_ops); |
375 | } | 375 | } |
376 | 376 | ||
377 | static struct file_operations sctp_assocs_seq_fops = { | 377 | static const struct file_operations sctp_assocs_seq_fops = { |
378 | .open = sctp_assocs_seq_open, | 378 | .open = sctp_assocs_seq_open, |
379 | .read = seq_read, | 379 | .read = seq_read, |
380 | .llseek = seq_lseek, | 380 | .llseek = seq_lseek, |