--- ov51x-jpeg-core.c	(revision 89)
+++ ov51x-jpeg-core.c	(working copy)
@@ -524,6 +524,7 @@
 
 static struct file_operations ov511_control_fops = {
 	.ioctl =	ov51x_control_ioctl,
+	.compat_ioctl =	v4l_compat_ioctl32,
 };
 
 #define YES_NO(x) ((x) ? "yes" : "no")
@@ -6586,6 +6587,7 @@
 	.close =	ov51x_v4l1_close,
 	.read =		ov51x_v4l1_read,
 	.ioctl =	ov51x_v4l1_ioctl,
+	.compat_ioctl =	v4l_compat_ioctl32,
 	.mmap =		ov51x_v4l1_mmap,
 };
 
@@ -6598,6 +6600,7 @@
 	.read =		ov51x_v4l1_read,
 	.mmap =		ov51x_v4l1_mmap,
 	.ioctl =	ov51x_v4l1_ioctl,
+	.compat_ioctl =	v4l_compat_ioctl32,
 	.llseek =	no_llseek,
 };
 

