summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/lirc_dev.c
diff options
context:
space:
mode:
authorAl Viro2013-04-05 01:09:41 +0200
committerAl Viro2013-04-09 20:16:20 +0200
commit75ef9de1267ba171ecefafca35758e2be0db10dc (patch)
tree597b9e9680535d3ac6c4c50c065090560414a070 /drivers/media/rc/lirc_dev.c
parentbluetooth: kill unused fops field in struct bt_sock_list (diff)
downloadkernel-qcow2-linux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.gz
kernel-qcow2-linux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.xz
kernel-qcow2-linux-75ef9de1267ba171ecefafca35758e2be0db10dc.zip
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/media/rc/lirc_dev.c')
-rw-r--r--drivers/media/rc/lirc_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index 5247d94fea29..8dc057b273f2 100644
--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -152,7 +152,7 @@ static int lirc_thread(void *irctl)
}
-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,