diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-11 17:00:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 15:37:59 -0400 |
commit | 99cd47bc733436da282016e629eef6baa0f6047c (patch) | |
tree | 7f210a24e38d65a1a44a2405c7fa59af9460a062 /drivers/media/video/cx18 | |
parent | dfddb2441f39e8c0254504516be35b854addf6fa (diff) |
[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/cx18')
-rw-r--r-- | drivers/media/video/cx18/cx18-ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c index 36b018c943e5..08ed75de1912 100644 --- a/drivers/media/video/cx18/cx18-ioctl.c +++ b/drivers/media/video/cx18/cx18-ioctl.c | |||
@@ -1057,7 +1057,8 @@ static int cx18_log_status(struct file *file, void *fh) | |||
1057 | return 0; | 1057 | return 0; |
1058 | } | 1058 | } |
1059 | 1059 | ||
1060 | static long cx18_default(struct file *file, void *fh, int cmd, void *arg) | 1060 | static long cx18_default(struct file *file, void *fh, bool valid_prio, |
1061 | int cmd, void *arg) | ||
1061 | { | 1062 | { |
1062 | struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; | 1063 | struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; |
1063 | 1064 | ||