summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc-v4l.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-12-31 07:45:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 10:46:05 -0200
commita08d2c727153dc6cea1d5d54a43fd7d69c1467c3 (patch)
treec0834f885ee7719aba20faabee3960c05f7d8473 /drivers/media/video/pwc/pwc-v4l.c
parentdc8a7e83aaf8bb1bcf7163bda8926a6dd29c409b (diff)
downloadblackbird-op-linux-a08d2c727153dc6cea1d5d54a43fd7d69c1467c3.tar.gz
blackbird-op-linux-a08d2c727153dc6cea1d5d54a43fd7d69c1467c3.zip
[media] pwc: Remove driver specific ioctls
This stems from the v4l1 era, with v4l2 everything can be done with standardized v4l2 API calls. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc-v4l.c')
-rw-r--r--drivers/media/video/pwc/pwc-v4l.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c
index c4dc820b9dd7..87457b53f495 100644
--- a/drivers/media/video/pwc/pwc-v4l.c
+++ b/drivers/media/video/pwc/pwc-v4l.c
@@ -1122,14 +1122,6 @@ static int pwc_log_status(struct file *file, void *priv)
return 0;
}
-static long pwc_default(struct file *file, void *fh, bool valid_prio,
- int cmd, void *arg)
-{
- struct pwc_device *pdev = video_drvdata(file);
-
- return pwc_ioctl(pdev, cmd, arg);
-}
-
const struct v4l2_ioctl_ops pwc_ioctl_ops = {
.vidioc_querycap = pwc_querycap,
.vidioc_enum_input = pwc_enum_input,
@@ -1148,8 +1140,4 @@ const struct v4l2_ioctl_ops pwc_ioctl_ops = {
.vidioc_log_status = pwc_log_status,
.vidioc_enum_framesizes = pwc_enum_framesizes,
.vidioc_enum_frameintervals = pwc_enum_frameintervals,
- .vidioc_default = pwc_default,
};
-
-
-/* vim: set cino= formatoptions=croql cindent shiftwidth=8 tabstop=8: */
OpenPOWER on IntegriCloud