summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-01-22 06:34:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:51 -0300
commitafa38521614dcdfe12c765ff76d4c137a056e905 (patch)
treeb310db8ca753e2236783edf9db49d915cceed727 /drivers/media/video/pwc/pwc.h
parentb577f962d27c055571f72ddd73ae3aded39a6261 (diff)
downloadop-kernel-dev-afa38521614dcdfe12c765ff76d4c137a056e905.zip
op-kernel-dev-afa38521614dcdfe12c765ff76d4c137a056e905.tar.gz
[media] pwc: convert to video_ioctl2
Tested with a Logitech QuickCam Pro 4000. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r--drivers/media/video/pwc/pwc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h
index 16bbc6d..e947766 100644
--- a/drivers/media/video/pwc/pwc.h
+++ b/drivers/media/video/pwc/pwc.h
@@ -339,8 +339,7 @@ extern int pwc_camera_power(struct pwc_device *pdev, int power);
/* Private ioctl()s; see pwc-ioctl.h */
extern long pwc_ioctl(struct pwc_device *pdev, unsigned int cmd, void *arg);
-/** Functions in pwc-v4l.c */
-extern long pwc_video_do_ioctl(struct file *file, unsigned int cmd, void *arg);
+extern const struct v4l2_ioctl_ops pwc_ioctl_ops;
/** pwc-uncompress.c */
/* Expand frame to image, possibly including decompression. Uses read_frame and fill_image */
OpenPOWER on IntegriCloud