updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / ov51x-jpeg / v4l2.patch
blob34b8817f03ee39aee8ccc6a284018d80e66305b6
1 diff -Nur ov51x-jpeg-1.5.9-old/ov51x-jpeg-core.c ov51x-jpeg-1.5.9/ov51x-jpeg-core.c
2 --- ov51x-jpeg-1.5.9-old/ov51x-jpeg-core.c 2010-08-09 19:10:49.000000000 -0430
3 +++ ov51x-jpeg-1.5.9/ov51x-jpeg-core.c 2010-08-09 19:07:14.000000000 -0430
4 @@ -543,7 +543,7 @@
5 static struct file_operations ov511_control_fops = {
6 .ioctl = ov51x_control_ioctl,
7 #ifdef CONFIG_COMPAT
8 - .compat_ioctl = v4l_compat_ioctl32,
9 + .compat_ioctl = v4l2_compat_ioctl32,
10 #endif
13 @@ -6627,9 +6627,9 @@
14 .read = ov51x_v4l1_read,
15 .mmap = ov51x_v4l1_mmap,
16 .ioctl = ov51x_v4l1_ioctl,
17 -#ifdef CONFIG_COMPAT
18 - .compat_ioctl = v4l_compat_ioctl32,
19 -#endif
20 +/*#ifdef CONFIG_COMPAT
21 + .compat_ioctl = v4l2_compat_ioctl32,
22 +#endif*/
25 static struct video_device vdev_template = {