Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

compat.patch

By: a guest on Aug 9th, 2010  |  syntax: C  |  size: 0.76 KB  |  hits: 265  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 = {