summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-lirc-codec.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-05 01:09:41 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 20:16:20 +0200
commit75ef9de1267ba171ecefafca35758e2be0db10dc (patch)
tree597b9e9680535d3ac6c4c50c065090560414a070 /drivers/media/rc/ir-lirc-codec.c
parentbluetooth: kill unused fops field in struct bt_sock_list (diff)
downloadlinux-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.xz
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/ir-lirc-codec.c')
-rw-r--r--drivers/media/rc/ir-lirc-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-lirc-codec.c b/drivers/media/rc/ir-lirc-codec.c
index 9945e5e7f61a..8ee080ef2f2c 100644
--- a/drivers/media/rc/ir-lirc-codec.c
+++ b/drivers/media/rc/ir-lirc-codec.c
@@ -307,7 +307,7 @@ static void ir_lirc_close(void *data)
return;
}
-static struct file_operations lirc_fops = {
+static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.write = ir_lirc_transmit_ir,
.unlocked_ioctl = ir_lirc_ioctl,