aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/zc0301/zc0301_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zc0301/zc0301_core.c')
-rw-r--r--drivers/media/video/zc0301/zc0301_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/zc0301/zc0301_core.c b/drivers/media/video/zc0301/zc0301_core.c
index af357cbcb9b..363dd2b9475 100644
--- a/drivers/media/video/zc0301/zc0301_core.c
+++ b/drivers/media/video/zc0301/zc0301_core.c
@@ -1925,7 +1925,9 @@ static const struct file_operations zc0301_fops = {
.open = zc0301_open,
.release = zc0301_release,
.ioctl = zc0301_ioctl,
+#ifdef CONFIG_COMPAT
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.read = zc0301_read,
.poll = zc0301_poll,
.mmap = zc0301_mmap,