diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index de07e959ff2f..a0c4ba6c6e57 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -506,7 +506,7 @@ static const struct inode_operations proc_def_inode_operations = { | |||
506 | .setattr = proc_setattr, | 506 | .setattr = proc_setattr, |
507 | }; | 507 | }; |
508 | 508 | ||
509 | extern struct seq_operations mounts_op; | 509 | extern const struct seq_operations mounts_op; |
510 | struct proc_mounts { | 510 | struct proc_mounts { |
511 | struct seq_file m; | 511 | struct seq_file m; |
512 | int event; | 512 | int event; |
@@ -585,7 +585,7 @@ static const struct file_operations proc_mounts_operations = { | |||
585 | .poll = mounts_poll, | 585 | .poll = mounts_poll, |
586 | }; | 586 | }; |
587 | 587 | ||
588 | extern struct seq_operations mountstats_op; | 588 | extern const struct seq_operations mountstats_op; |
589 | static int mountstats_open(struct inode *inode, struct file *file) | 589 | static int mountstats_open(struct inode *inode, struct file *file) |
590 | { | 590 | { |
591 | int ret = seq_open(file, &mountstats_op); | 591 | int ret = seq_open(file, &mountstats_op); |