aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-lirc-codec.c
diff options
context:
space:
mode:
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 ff4d93d1907f..e4561264e124 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)
307 return; 307 return;
308} 308}
309 309
310static struct file_operations lirc_fops = { 310static const struct file_operations lirc_fops = {
311 .owner = THIS_MODULE, 311 .owner = THIS_MODULE,
312 .write = ir_lirc_transmit_ir, 312 .write = ir_lirc_transmit_ir,
313 .unlocked_ioctl = ir_lirc_ioctl, 313 .unlocked_ioctl = ir_lirc_ioctl,