diff options
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 9b62b4c03ad0..4ef1d29297ca 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -1531,7 +1531,7 @@ static int cpuset_rename(struct inode *old_dir, struct dentry *old_dentry, | |||
1531 | return simple_rename(old_dir, old_dentry, new_dir, new_dentry); | 1531 | return simple_rename(old_dir, old_dentry, new_dir, new_dentry); |
1532 | } | 1532 | } |
1533 | 1533 | ||
1534 | static struct file_operations cpuset_file_operations = { | 1534 | static const struct file_operations cpuset_file_operations = { |
1535 | .read = cpuset_file_read, | 1535 | .read = cpuset_file_read, |
1536 | .write = cpuset_file_write, | 1536 | .write = cpuset_file_write, |
1537 | .llseek = generic_file_llseek, | 1537 | .llseek = generic_file_llseek, |
@@ -2605,7 +2605,7 @@ static int cpuset_open(struct inode *inode, struct file *file) | |||
2605 | return single_open(file, proc_cpuset_show, pid); | 2605 | return single_open(file, proc_cpuset_show, pid); |
2606 | } | 2606 | } |
2607 | 2607 | ||
2608 | struct file_operations proc_cpuset_operations = { | 2608 | const struct file_operations proc_cpuset_operations = { |
2609 | .open = cpuset_open, | 2609 | .open = cpuset_open, |
2610 | .read = seq_read, | 2610 | .read = seq_read, |
2611 | .llseek = seq_lseek, | 2611 | .llseek = seq_lseek, |