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/tvp5150.c | |
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/tvp5150.c')
-rw-r--r-- | drivers/media/video/tvp5150.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 908ffb68e926..caf0a708542e 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c | |||
@@ -1046,6 +1046,9 @@ static const struct v4l2_subdev_video_ops tvp5150_video_ops = { | |||
1046 | .s_routing = tvp5150_s_routing, | 1046 | .s_routing = tvp5150_s_routing, |
1047 | .g_fmt = tvp5150_g_fmt, | 1047 | .g_fmt = tvp5150_g_fmt, |
1048 | .s_fmt = tvp5150_s_fmt, | 1048 | .s_fmt = tvp5150_s_fmt, |
1049 | }; | ||
1050 | |||
1051 | static const struct v4l2_subdev_vbi_ops tvp5150_vbi_ops = { | ||
1049 | .g_sliced_vbi_cap = tvp5150_g_sliced_vbi_cap, | 1052 | .g_sliced_vbi_cap = tvp5150_g_sliced_vbi_cap, |
1050 | }; | 1053 | }; |
1051 | 1054 | ||
@@ -1053,6 +1056,7 @@ static const struct v4l2_subdev_ops tvp5150_ops = { | |||
1053 | .core = &tvp5150_core_ops, | 1056 | .core = &tvp5150_core_ops, |
1054 | .tuner = &tvp5150_tuner_ops, | 1057 | .tuner = &tvp5150_tuner_ops, |
1055 | .video = &tvp5150_video_ops, | 1058 | .video = &tvp5150_video_ops, |
1059 | .vbi = &tvp5150_vbi_ops, | ||
1056 | }; | 1060 | }; |
1057 | 1061 | ||
1058 | 1062 | ||