diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-11 23:00:56 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 20:37:59 +0100 |
commit | 99cd47bc733436da282016e629eef6baa0f6047c (patch) | |
tree | 7f210a24e38d65a1a44a2405c7fa59af9460a062 /drivers/media/video/mxb.c | |
parent | [media] v4l2-fh: add v4l2_fh_is_singular (diff) | |
download | linux-99cd47bc733436da282016e629eef6baa0f6047c.tar.xz linux-99cd47bc733436da282016e629eef6baa0f6047c.zip |
[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/mxb.c')
-rw-r--r-- | drivers/media/video/mxb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index e8846a09b026..0b3850023505 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c @@ -643,7 +643,8 @@ static int vidioc_s_register(struct file *file, void *fh, struct v4l2_dbg_regist } #endif -static long vidioc_default(struct file *file, void *fh, int cmd, void *arg) +static long vidioc_default(struct file *file, void *fh, bool valid_prio, + int cmd, void *arg) { struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; struct mxb *mxb = (struct mxb *)dev->ext_priv; |