diff options
Diffstat (limited to 'net/x25/x25_proc.c')
-rw-r--r-- | net/x25/x25_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c index 3c9f1ba56221..96001f0c64fc 100644 --- a/net/x25/x25_proc.c +++ b/net/x25/x25_proc.c | |||
@@ -270,7 +270,7 @@ static int x25_seq_forward_open(struct inode *inode, struct file *file) | |||
270 | return seq_open(file, &x25_seq_forward_ops); | 270 | return seq_open(file, &x25_seq_forward_ops); |
271 | } | 271 | } |
272 | 272 | ||
273 | static struct file_operations x25_seq_socket_fops = { | 273 | static const struct file_operations x25_seq_socket_fops = { |
274 | .owner = THIS_MODULE, | 274 | .owner = THIS_MODULE, |
275 | .open = x25_seq_socket_open, | 275 | .open = x25_seq_socket_open, |
276 | .read = seq_read, | 276 | .read = seq_read, |
@@ -278,7 +278,7 @@ static struct file_operations x25_seq_socket_fops = { | |||
278 | .release = seq_release, | 278 | .release = seq_release, |
279 | }; | 279 | }; |
280 | 280 | ||
281 | static struct file_operations x25_seq_route_fops = { | 281 | static const struct file_operations x25_seq_route_fops = { |
282 | .owner = THIS_MODULE, | 282 | .owner = THIS_MODULE, |
283 | .open = x25_seq_route_open, | 283 | .open = x25_seq_route_open, |
284 | .read = seq_read, | 284 | .read = seq_read, |