packages: ov51x-jpeg/ov51x-jpeg-2.6.30.patch (NEW) - https://svn.pardus.org...

zbyniu zbyniu at pld-linux.org
Tue Jul 27 00:31:23 CEST 2010


Author: zbyniu                       Date: Mon Jul 26 22:31:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- https://svn.pardus.org.tr/pardus/2009/devel/kernel/pae/drivers/module-pae-ov51x-jpeg/files/ov51x-jpeg-2.6.30.patch

---- Files affected:
packages/ov51x-jpeg:
   ov51x-jpeg-2.6.30.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ov51x-jpeg/ov51x-jpeg-2.6.30.patch
diff -u /dev/null packages/ov51x-jpeg/ov51x-jpeg-2.6.30.patch:1.1
--- /dev/null	Tue Jul 27 00:31:23 2010
+++ packages/ov51x-jpeg/ov51x-jpeg-2.6.30.patch	Tue Jul 27 00:31:18 2010
@@ -0,0 +1,75 @@
+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	2009-05-14 19:26:10.651365707 +0300
++++ ov51x-jpeg-1.5.9/ov51x-jpeg-core.c	2009-05-14 19:34:55.665616250 +0300
+@@ -5730,7 +5730,7 @@
+ {
+ #else
+ static int
+-ov51x_v4l1_open(struct inode *inode, struct file *file)
++ov51x_v4l1_open(struct file *file)
+ {
+ 	struct video_device *vdev = video_devdata(file);
+ #endif
+@@ -5801,7 +5801,7 @@
+ {
+ #else
+ static int
+-ov51x_v4l1_close(struct inode *inode, struct file *file)
++ov51x_v4l1_close(struct file *file)
+ {
+ 	struct video_device *vdev = file->private_data;
+ #endif
+@@ -5847,13 +5847,14 @@
+ }
+ 
+ /* Do not call this function directly! */
+-static int
+ #ifdef OV511_OLD_V4L
++static long
+ ov51x_v4l1_ioctl_internal(struct usb_ov511 *ov, unsigned int cmd,
+ 			  void *arg)
+ {
+ #else
+-ov51x_v4l1_ioctl_internal(struct inode *inode, struct file *file,
++static long
++ov51x_v4l1_ioctl_internal(struct file *file,
+ 			  unsigned int cmd, void *arg)
+ {
+ 	struct video_device *vdev = file->private_data;
+@@ -6352,7 +6353,7 @@
+ 	return err;
+ }
+ 
+-static int
++static long
+ ov51x_v4l1_ioctl(struct video_device *vdev, unsigned int cmd, void *arg)
+ {
+ 	struct usb_ov511 *ov = vdev->priv;
+@@ -6369,8 +6370,8 @@
+ 
+ #else	/* If new V4L API */
+ 
+-static int
+-ov51x_v4l1_ioctl(struct inode *inode, struct file *file,
++static long
++ov51x_v4l1_ioctl(struct file *file,
+ 		 unsigned int cmd, unsigned long arg)
+ {
+ 	struct video_device *vdev = file->private_data;
+@@ -6621,7 +6622,7 @@
+ 
+ #else	/* New V4L API */
+ 
+-static struct file_operations ov511_fops = {
++static struct v4l2_file_operations ov511_fops = {
+ 	.owner =	THIS_MODULE,
+ 	.open =		ov51x_v4l1_open,
+ 	.release =	ov51x_v4l1_close,
+@@ -6631,7 +6632,6 @@
+ #ifdef CONFIG_COMPAT 
+ 	.compat_ioctl =	v4l_compat_ioctl32,
+ #endif
+-	.llseek =	no_llseek,
+ };
+ 
+ static struct video_device vdev_template = {
================================================================


More information about the pld-cvs-commit mailing list