summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-05 06:37:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 20:23:05 -0300
commit82b655bfc32b793344ef0ddd46df8af8b98b55c7 (patch)
treeebc3479357b9909b8c76f3867322ad3592d69c12 /include/media
parent3d687b49ff085b325488e7aeb2ee4df99dd7ca6e (diff)
downloadlinux-82b655bfc32b793344ef0ddd46df8af8b98b55c7.tar.gz
linux-82b655bfc32b793344ef0ddd46df8af8b98b55c7.tar.bz2
linux-82b655bfc32b793344ef0ddd46df8af8b98b55c7.zip
[media] v4l2: add core support for the new VIDIOC_ENUM_FREQ_BANDS ioctl
This adds the usual core support code for this new ioctl. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h
index 19e93523c2d8..e614c9c15e56 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -230,6 +230,8 @@ struct v4l2_ioctl_ops {
struct v4l2_frequency *a);
int (*vidioc_s_frequency) (struct file *file, void *fh,
struct v4l2_frequency *a);
+ int (*vidioc_enum_freq_bands) (struct file *file, void *fh,
+ struct v4l2_frequency_band *band);
/* Sliced VBI cap */
int (*vidioc_g_sliced_vbi_cap) (struct file *file, void *fh,