[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>
This commit is contained in:
Hans Verkuil
2011-03-11 19:00:56 -03:00
committed by Mauro Carvalho Chehab
parent dfddb2441f
commit 99cd47bc73
10 changed files with 73 additions and 16 deletions

View File

@@ -270,7 +270,7 @@ struct v4l2_ioctl_ops {
/* For other private ioctls */
long (*vidioc_default) (struct file *file, void *fh,
int cmd, void *arg);
bool valid_prio, int cmd, void *arg);
};