X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fdebugfs%2Ffile.c;h=39640fd034580f66c8f58ed9329e8220d4392c07;hb=6c2a9e6df60478e712f3c3d98b5047778a82a3d7;hp=40c4fc973fad3125e3732b92c755f985a198a3dd;hpb=ca94f26d2b2ee8ad76be617b35f846444fedc07b;p=linux-2.6 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,