updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / ov51x-jpeg / ov51x-jpeg-2.6.36.patch
blobe312f0c00a24369924104b1246962ec5e511e85b
1 --- ov51x-jpeg-1.5.9-old/ov51x-jpeg-core.c 2010-12-22 17:14:55.000000000 +0100
2 +++ ov51x-jpeg-1.5.9/ov51x-jpeg-core.c 2010-12-22 17:10:14.000000000 +0100
3 @@ -537,11 +537,11 @@
4 static int sensor_get_picture(struct usb_ov511 *, struct video_picture *);
5 static int sensor_get_exposure(struct usb_ov511 *, unsigned char *);
6 static int ov51x_check_snapshot(struct usb_ov511 *);
7 -static int ov51x_control_ioctl(struct inode *, struct file *, unsigned int,
8 +static long ov51x_control_ioctl(struct inode *, struct file *, unsigned int,
9 unsigned long);
11 static struct file_operations ov511_control_fops = {
12 - .ioctl = ov51x_control_ioctl,
13 + .unlocked_ioctl = ov51x_control_ioctl,
14 #ifdef CONFIG_COMPAT
15 .compat_ioctl = v4l2_compat_ioctl32,
16 #endif
17 @@ -6648,7 +6648,7 @@
19 #endif /* OV511_OLD_V4L */
21 -static int
22 +static long
23 ov51x_control_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
24 unsigned long ularg)