diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-04-01 02:52:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 20:44:22 -0400 |
commit | f41737ece472cd803ffb24ac9f5d6fdd1d871341 (patch) | |
tree | 26ac526ec381e26c46a857f3ce44c84e75331b01 /drivers/media/video/ks0127.c | |
parent | cc26b076cf8b1040ccc514302ef9a24042272ec3 (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/ks0127.c')
-rw-r--r-- | drivers/media/video/ks0127.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/ks0127.c b/drivers/media/video/ks0127.c index 841024b6bcdf..4e5f0e7dc591 100644 --- a/drivers/media/video/ks0127.c +++ b/drivers/media/video/ks0127.c | |||
@@ -648,9 +648,6 @@ static int ks0127_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_iden | |||
648 | 648 | ||
649 | static const struct v4l2_subdev_core_ops ks0127_core_ops = { | 649 | static const struct v4l2_subdev_core_ops ks0127_core_ops = { |
650 | .g_chip_ident = ks0127_g_chip_ident, | 650 | .g_chip_ident = ks0127_g_chip_ident, |
651 | }; | ||
652 | |||
653 | static const struct v4l2_subdev_tuner_ops ks0127_tuner_ops = { | ||
654 | .s_std = ks0127_s_std, | 651 | .s_std = ks0127_s_std, |
655 | }; | 652 | }; |
656 | 653 | ||
@@ -663,7 +660,6 @@ static const struct v4l2_subdev_video_ops ks0127_video_ops = { | |||
663 | 660 | ||
664 | static const struct v4l2_subdev_ops ks0127_ops = { | 661 | static const struct v4l2_subdev_ops ks0127_ops = { |
665 | .core = &ks0127_core_ops, | 662 | .core = &ks0127_core_ops, |
666 | .tuner = &ks0127_tuner_ops, | ||
667 | .video = &ks0127_video_ops, | 663 | .video = &ks0127_video_ops, |
668 | }; | 664 | }; |
669 | 665 | ||