diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-28 07:27:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:07:22 -0400 |
commit | b2de2313f170c3f7341d3a94365c5139a23067a7 (patch) | |
tree | 6fc5d506b63ce937091d59232c6d5e507c5e0ad2 /include/media | |
parent | 7bb846afceafdaceb88d2ed2e861585d26e353b9 (diff) |
V4L/DVB (7947): videodev: add vidioc_g_std callback.
The default videodev behavior for VIDIOC_G_STD is not correct for all devices.
Add a new callback that drivers can use instead.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 53b651ac685a..8a40f481d899 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -212,8 +212,9 @@ struct video_device | |||
212 | int (*vidioc_streamoff)(struct file *file, void *fh, enum v4l2_buf_type i); | 212 | int (*vidioc_streamoff)(struct file *file, void *fh, enum v4l2_buf_type i); |
213 | 213 | ||
214 | /* Standard handling | 214 | /* Standard handling |
215 | G_STD and ENUMSTD are handled by videodev.c | 215 | ENUMSTD is handled by videodev.c |
216 | */ | 216 | */ |
217 | int (*vidioc_g_std) (struct file *file, void *fh, v4l2_std_id *norm); | ||
217 | int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id *norm); | 218 | int (*vidioc_s_std) (struct file *file, void *fh, v4l2_std_id *norm); |
218 | int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a); | 219 | int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a); |
219 | 220 | ||