X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fdebugfs%2Ffile.c;h=39640fd034580f66c8f58ed9329e8220d4392c07;hb=23930fa1cebfea6f79881c588ccd1b0781e49e3f;hp=40c4fc973fad3125e3732b92c755f985a198a3dd;hpb=9d8f057acbd38d8177cf2ffd5e151d52c2477372;p=powerpc.git diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 40c4fc973f..39640fd034 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -13,7 +13,6 @@ * */ -#include #include #include #include @@ -39,7 +38,7 @@ static int default_open(struct inode *inode, struct file *file) 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, @@ -213,7 +212,7 @@ static ssize_t write_file_bool(struct file *file, const char __user *user_buf, 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,