diff -Nur ov51x-jpeg-1.5.9-old/ov51x-jpeg-core.c ov51x-jpeg-1.5.9/ov51x-jpeg-core.c --- ov51x-jpeg-1.5.9-old/ov51x-jpeg-core.c 2010-08-09 19:10:49.000000000 -0430 +++ ov51x-jpeg-1.5.9/ov51x-jpeg-core.c 2010-08-09 19:07:14.000000000 -0430 @@ -543,7 +543,7 @@ static struct file_operations ov511_control_fops = { .ioctl = ov51x_control_ioctl, #ifdef CONFIG_COMPAT - .compat_ioctl = v4l_compat_ioctl32, + .compat_ioctl = v4l2_compat_ioctl32, #endif }; @@ -6627,9 +6627,9 @@ .read = ov51x_v4l1_read, .mmap = ov51x_v4l1_mmap, .ioctl = ov51x_v4l1_ioctl, -#ifdef CONFIG_COMPAT - .compat_ioctl = v4l_compat_ioctl32, -#endif +/*#ifdef CONFIG_COMPAT + .compat_ioctl = v4l2_compat_ioctl32, +#endif*/ }; static struct video_device vdev_template = {