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
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index e2d09d604ca08a7f7e73cd20eb972dcb02525115..d9eae45d0145a077d6b32d2b29156f9d3b18bfdd 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-2209,7
+2209,7
@@
static int m_show(struct seq_file *m, void *p)
Where refcount is a number or -, and deps is a comma-separated list
of depends or -.
*/
-struct seq_operations modules_op = {
+
const
struct seq_operations modules_op = {
.start = m_start,
.next = m_next,
.stop = m_stop,