summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-ioctl.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-05 11:37:08 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-31 01:23:05 +0200
commit82b655bfc32b793344ef0ddd46df8af8b98b55c7 (patch)
treeebc3479357b9909b8c76f3867322ad3592d69c12 /include/media/v4l2-ioctl.h
parent[media] videodev2.h: add VIDIOC_ENUM_FREQ_BANDS (diff)
downloadlinux-82b655bfc32b793344ef0ddd46df8af8b98b55c7.tar.xz
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/v4l2-ioctl.h')
-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,