diff options
Diffstat (limited to 'net/ipv6/proc.c')
-rw-r--r-- | net/ipv6/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index 032ef95c5b00..c82257dd04b6 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c | |||
@@ -187,7 +187,7 @@ static int sockstat6_seq_open(struct inode *inode, struct file *file) | |||
187 | return single_open(file, sockstat6_seq_show, NULL); | 187 | return single_open(file, sockstat6_seq_show, NULL); |
188 | } | 188 | } |
189 | 189 | ||
190 | static struct file_operations sockstat6_seq_fops = { | 190 | static const struct file_operations sockstat6_seq_fops = { |
191 | .owner = THIS_MODULE, | 191 | .owner = THIS_MODULE, |
192 | .open = sockstat6_seq_open, | 192 | .open = sockstat6_seq_open, |
193 | .read = seq_read, | 193 | .read = seq_read, |
@@ -200,7 +200,7 @@ static int snmp6_seq_open(struct inode *inode, struct file *file) | |||
200 | return single_open(file, snmp6_seq_show, PDE(inode)->data); | 200 | return single_open(file, snmp6_seq_show, PDE(inode)->data); |
201 | } | 201 | } |
202 | 202 | ||
203 | static struct file_operations snmp6_seq_fops = { | 203 | static const struct file_operations snmp6_seq_fops = { |
204 | .owner = THIS_MODULE, | 204 | .owner = THIS_MODULE, |
205 | .open = snmp6_seq_open, | 205 | .open = snmp6_seq_open, |
206 | .read = seq_read, | 206 | .read = seq_read, |