[media] lirc: wire up .compat_ioctl to main ioctl handler
[pandora-kernel.git] / drivers / staging / lirc / lirc_parallel.c
index be3d60d..b8cce87 100644 (file)
@@ -546,6 +546,9 @@ static const struct file_operations lirc_fops = {
        .write          = lirc_write,
        .poll           = lirc_poll,
        .unlocked_ioctl = lirc_ioctl,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl   = lirc_ioctl,
+#endif
        .open           = lirc_open,
        .release        = lirc_close
 };