aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-02-05 00:24:35 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-13 09:26:47 -0400
commitc58d1de5d94eee930d151f36cb6f63a30c6bf2bb (patch)
treeda6e4e761d02fb4a4833552be652969b0add2ae1 /include/media
parent00419a6ab590b6cf584f704abbb56b7a5c388672 (diff)
[media] v4l: add enum_freq_bands support to tuner sub-device
Add VIDIOC_ENUM_FREQ_BANDS, enumerate supported frequency bands, IOCTL support for sub-device tuners too. Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-subdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 855c928c29cd..28f4d8c3cf7d 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -196,6 +196,7 @@ struct v4l2_subdev_tuner_ops {
196 int (*s_radio)(struct v4l2_subdev *sd); 196 int (*s_radio)(struct v4l2_subdev *sd);
197 int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq); 197 int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq);
198 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); 198 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
199 int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band);
199 int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt); 200 int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
200 int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt); 201 int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt);
201 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm); 202 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);