Advertisement
Guest User

compat.patch

a guest
Aug 9th, 2010
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.76 KB | None | 0 0
  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
  11.  };
  12.  
  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*/
  23.  };
  24.  
  25.  static struct video_device vdev_template = {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement