diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-14 08:57:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:45 -0400 |
commit | 32cd527f59f8aa8549067a2c5f989b736f7da79a (patch) | |
tree | 2552bd0efffc5bd21011e1f139c1b7a5c9a27390 /drivers/media/video/cx25840 | |
parent | b26d6e21788864039bfb24840a668f2cb0848930 (diff) |
V4L/DVB: v4l: move vbi-specific video ops to a new vbi ops struct
Only a relatively small number of video receivers and transmitters actually
support VBI. So start moving the vbi specific ops to an ops struct of their
own.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25840')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index f2461cd3de5a..a0f6f82993bc 100644 --- a/drivers/media/video/cx25840/cx25840-core.c +++ b/drivers/media/video/cx25840/cx25840-core.c | |||
@@ -1635,15 +1635,19 @@ static const struct v4l2_subdev_video_ops cx25840_video_ops = { | |||
1635 | .s_routing = cx25840_s_video_routing, | 1635 | .s_routing = cx25840_s_video_routing, |
1636 | .g_fmt = cx25840_g_fmt, | 1636 | .g_fmt = cx25840_g_fmt, |
1637 | .s_fmt = cx25840_s_fmt, | 1637 | .s_fmt = cx25840_s_fmt, |
1638 | .decode_vbi_line = cx25840_decode_vbi_line, | ||
1639 | .s_stream = cx25840_s_stream, | 1638 | .s_stream = cx25840_s_stream, |
1640 | }; | 1639 | }; |
1641 | 1640 | ||
1641 | static const struct v4l2_subdev_vbi_ops cx25840_vbi_ops = { | ||
1642 | .decode_vbi_line = cx25840_decode_vbi_line, | ||
1643 | }; | ||
1644 | |||
1642 | static const struct v4l2_subdev_ops cx25840_ops = { | 1645 | static const struct v4l2_subdev_ops cx25840_ops = { |
1643 | .core = &cx25840_core_ops, | 1646 | .core = &cx25840_core_ops, |
1644 | .tuner = &cx25840_tuner_ops, | 1647 | .tuner = &cx25840_tuner_ops, |
1645 | .audio = &cx25840_audio_ops, | 1648 | .audio = &cx25840_audio_ops, |
1646 | .video = &cx25840_video_ops, | 1649 | .video = &cx25840_video_ops, |
1650 | .vbi = &cx25840_vbi_ops, | ||
1647 | }; | 1651 | }; |
1648 | 1652 | ||
1649 | /* ----------------------------------------------------------------------- */ | 1653 | /* ----------------------------------------------------------------------- */ |