diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-04 19:09:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:16:20 -0400 |
commit | 75ef9de1267ba171ecefafca35758e2be0db10dc (patch) | |
tree | 597b9e9680535d3ac6c4c50c065090560414a070 /drivers/staging/dgrp/dgrp_specproc.c | |
parent | c10c062cadf527c3e072f01280d266fbbc592f9d (diff) | |
download | kernel_goldelico_gta04-75ef9de1267ba171ecefafca35758e2be0db10dc.zip kernel_goldelico_gta04-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.gz kernel_goldelico_gta04-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.bz2 |
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/dgrp/dgrp_specproc.c')
-rw-r--r-- | drivers/staging/dgrp/dgrp_specproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/dgrp/dgrp_specproc.c b/drivers/staging/dgrp/dgrp_specproc.c index 99c993b..b990b26 100644 --- a/drivers/staging/dgrp/dgrp_specproc.c +++ b/drivers/staging/dgrp/dgrp_specproc.c @@ -63,7 +63,7 @@ static int dgrp_nodeinfo_proc_open(struct inode *inode, struct file *file); static int dgrp_info_proc_open(struct inode *inode, struct file *file); static int dgrp_config_proc_open(struct inode *inode, struct file *file); -static struct file_operations config_proc_file_ops = { +static const struct file_operations config_proc_file_ops = { .owner = THIS_MODULE, .open = dgrp_config_proc_open, .read = seq_read, @@ -72,7 +72,7 @@ static struct file_operations config_proc_file_ops = { .write = dgrp_config_proc_write, }; -static struct file_operations info_proc_file_ops = { +static const struct file_operations info_proc_file_ops = { .owner = THIS_MODULE, .open = dgrp_info_proc_open, .read = seq_read, @@ -80,7 +80,7 @@ static struct file_operations info_proc_file_ops = { .release = single_release, }; -static struct file_operations nodeinfo_proc_file_ops = { +static const struct file_operations nodeinfo_proc_file_ops = { .owner = THIS_MODULE, .open = dgrp_nodeinfo_proc_open, .read = seq_read, |