projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into upstream
[powerpc.git]
/
fs
/
debugfs
/
file.c
diff --git
a/fs/debugfs/file.c
b/fs/debugfs/file.c
index
40c4fc9
..
39640fd
100644
(file)
--- a/
fs/debugfs/file.c
+++ b/
fs/debugfs/file.c
@@
-13,7
+13,6
@@
*
*/
*
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
@@
-39,7
+38,7
@@
static int default_open(struct inode *inode, struct file *file)
return 0;
}
return 0;
}
-struct file_operations debugfs_file_operations = {
+
const
struct file_operations debugfs_file_operations = {
.read = default_read_file,
.write = default_write_file,
.open = default_open,
.read = default_read_file,
.write = default_write_file,
.open = default_open,
@@
-213,7
+212,7
@@
static ssize_t write_file_bool(struct file *file, const char __user *user_buf,
return count;
}
return count;
}
-static struct file_operations fops_bool = {
+static
const
struct file_operations fops_bool = {
.read = read_file_bool,
.write = write_file_bool,
.open = default_open,
.read = read_file_bool,
.write = write_file_bool,
.open = default_open,