projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] struct seq_operations and struct file_operations constification
[linux-2.6-block.git]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index b43cef02ce5b5de5f227b18aa752dbe04f4cdb0e..f385eff4682d7fbf169accde4c93d0bf4f42fd83 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-505,7
+505,7
@@
static int schedstat_open(struct inode *inode, struct file *file)
return res;
}
-struct file_operations proc_schedstat_operations = {
+
const
struct file_operations proc_schedstat_operations = {
.open = schedstat_open,
.read = seq_read,
.llseek = seq_lseek,