diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-11 19:00:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 16:37:59 -0300 |
commit | 99cd47bc733436da282016e629eef6baa0f6047c (patch) | |
tree | 7f210a24e38d65a1a44a2405c7fa59af9460a062 /drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | dfddb2441f39e8c0254504516be35b854addf6fa (diff) | |
download | op-kernel-dev-99cd47bc733436da282016e629eef6baa0f6047c.zip op-kernel-dev-99cd47bc733436da282016e629eef6baa0f6047c.tar.gz |
[media] v4l2-ioctl: add priority handling support
Drivers that use v4l2_fh can now use the core framework support of g/s_priority.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index b686da5..d34a326 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c @@ -1795,7 +1795,8 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg) return 0; } -static long ivtv_default(struct file *file, void *fh, int cmd, void *arg) +static long ivtv_default(struct file *file, void *fh, bool valid_prio, + int cmd, void *arg) { struct ivtv *itv = ((struct ivtv_open_id *)fh)->itv; |