diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-06-25 05:32:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:12:23 -0400 |
commit | adb65bc71c8fef53822870cc9018f05b11131233 (patch) | |
tree | e169680cdf319bc35b645b2735ec569980ef5e92 /drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | d8799b4699af008290e141804b40c5ebf3d7dc35 (diff) |
V4L/DVB (8113): ivtv/cx18: remove s/g_ctrl, now all controls are handled through s/g_ext_ctrl
videodev converts old-style controls to an extended control so the ivtv and
cx18 drivers no longer have to handle both.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index 42443b42336d..52e00a7f3110 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -692,7 +692,7 @@ static int ivtv_itvc(struct ivtv *itv, unsigned int cmd, void *arg) | |||
692 | { | 692 | { |
693 | struct v4l2_register *regs = arg; | 693 | struct v4l2_register *regs = arg; |
694 | unsigned long flags; | 694 | unsigned long flags; |
695 | u8 __iomem *reg_start; | 695 | volatile u8 __iomem *reg_start; |
696 | 696 | ||
697 | if (!capable(CAP_SYS_ADMIN)) | 697 | if (!capable(CAP_SYS_ADMIN)) |
698 | return -EPERM; | 698 | return -EPERM; |
@@ -1904,8 +1904,6 @@ void ivtv_set_funcs(struct video_device *vdev) | |||
1904 | vdev->vidioc_default = ivtv_default; | 1904 | vdev->vidioc_default = ivtv_default; |
1905 | vdev->vidioc_queryctrl = ivtv_queryctrl; | 1905 | vdev->vidioc_queryctrl = ivtv_queryctrl; |
1906 | vdev->vidioc_querymenu = ivtv_querymenu; | 1906 | vdev->vidioc_querymenu = ivtv_querymenu; |
1907 | vdev->vidioc_g_ctrl = ivtv_g_ctrl; | ||
1908 | vdev->vidioc_s_ctrl = ivtv_s_ctrl; | ||
1909 | vdev->vidioc_g_ext_ctrls = ivtv_g_ext_ctrls; | 1907 | vdev->vidioc_g_ext_ctrls = ivtv_g_ext_ctrls; |
1910 | vdev->vidioc_s_ext_ctrls = ivtv_s_ext_ctrls; | 1908 | vdev->vidioc_s_ext_ctrls = ivtv_s_ext_ctrls; |
1911 | vdev->vidioc_try_ext_ctrls = ivtv_try_ext_ctrls; | 1909 | vdev->vidioc_try_ext_ctrls = ivtv_try_ext_ctrls; |