aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-04-01 02:52:39 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:22 -0400
commitf41737ece472cd803ffb24ac9f5d6fdd1d871341 (patch)
tree26ac526ec381e26c46a857f3ce44c84e75331b01 /drivers/media/video/tvaudio.c
parentcc26b076cf8b1040ccc514302ef9a24042272ec3 (diff)
V4L/DVB (11370): v4l2-subdev: move s_std from tuner to core.
s_std didn't belong in the tuner ops. Stricly speaking it should be part of the video ops, but it is used by audio and tuner devices as well, so it is more efficient to make it part of the core ops. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r--drivers/media/video/tvaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c
index 994753cbd630..2a49c839f8ac 100644
--- a/drivers/media/video/tvaudio.c
+++ b/drivers/media/video/tvaudio.c
@@ -1911,12 +1911,12 @@ static const struct v4l2_subdev_core_ops tvaudio_core_ops = {
1911 .queryctrl = tvaudio_queryctrl, 1911 .queryctrl = tvaudio_queryctrl,
1912 .g_ctrl = tvaudio_g_ctrl, 1912 .g_ctrl = tvaudio_g_ctrl,
1913 .s_ctrl = tvaudio_s_ctrl, 1913 .s_ctrl = tvaudio_s_ctrl,
1914 .s_std = tvaudio_s_std,
1914}; 1915};
1915 1916
1916static const struct v4l2_subdev_tuner_ops tvaudio_tuner_ops = { 1917static const struct v4l2_subdev_tuner_ops tvaudio_tuner_ops = {
1917 .s_radio = tvaudio_s_radio, 1918 .s_radio = tvaudio_s_radio,
1918 .s_frequency = tvaudio_s_frequency, 1919 .s_frequency = tvaudio_s_frequency,
1919 .s_std = tvaudio_s_std,
1920 .s_tuner = tvaudio_s_tuner, 1920 .s_tuner = tvaudio_s_tuner,
1921 .s_tuner = tvaudio_g_tuner, 1921 .s_tuner = tvaudio_g_tuner,
1922}; 1922};