aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-06-13 08:34:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-07 14:03:59 -0400
commite206fc5e3de0e38a35b6f92941c913b6d8343fc6 (patch)
tree37419272d1da1ccaaa26c0adce7dd7299fc63a21 /include/media
parent6293698277f04eb1623536887651381ed3abc8d0 (diff)
[media] v4l2-subdev.h: remove unused s_mode tuner op
s_mode is no longer used, so remove it. 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-subdev.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 1562c4ff3a65..224502067c43 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -173,16 +173,13 @@ struct v4l2_subdev_core_ops {
173 struct v4l2_event_subscription *sub); 173 struct v4l2_event_subscription *sub);
174}; 174};
175 175
176/* s_mode: switch the tuner to a specific tuner mode. Replacement of s_radio. 176/* s_radio: v4l device was opened in radio mode.
177
178 s_radio: v4l device was opened in Radio mode, to be replaced by s_mode.
179 177
180 s_type_addr: sets tuner type and its I2C addr. 178 s_type_addr: sets tuner type and its I2C addr.
181 179
182 s_config: sets tda9887 specific stuff, like port1, port2 and qss 180 s_config: sets tda9887 specific stuff, like port1, port2 and qss
183 */ 181 */
184struct v4l2_subdev_tuner_ops { 182struct v4l2_subdev_tuner_ops {
185 int (*s_mode)(struct v4l2_subdev *sd, enum v4l2_tuner_type);
186 int (*s_radio)(struct v4l2_subdev *sd); 183 int (*s_radio)(struct v4l2_subdev *sd);
187 int (*s_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); 184 int (*s_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
188 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); 185 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);