commit | 75ef9de1267ba171ecefafca35758e2be0db10dc | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 04 19:09:41 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 09 14:16:20 2013 -0400 |
tree | 597b9e9680535d3ac6c4c50c065090560414a070 | |
parent | c10c062cadf527c3e072f01280d266fbbc592f9d [diff] [blame] |
constify a bunch of struct file_operations instances Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index 5247d94..8dc057b 100644 --- a/drivers/media/rc/lirc_dev.c +++ b/drivers/media/rc/lirc_dev.c
@@ -152,7 +152,7 @@ } -static struct file_operations lirc_dev_fops = { +static const struct file_operations lirc_dev_fops = { .owner = THIS_MODULE, .read = lirc_dev_fop_read, .write = lirc_dev_fop_write,