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/saa7127.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/saa7127.c')
-rw-r--r-- | drivers/media/video/saa7127.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 250ef84cf5ca..32e11fc9c85c 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -727,16 +727,20 @@ static const struct v4l2_subdev_core_ops saa7127_core_ops = { | |||
727 | }; | 727 | }; |
728 | 728 | ||
729 | static const struct v4l2_subdev_video_ops saa7127_video_ops = { | 729 | static const struct v4l2_subdev_video_ops saa7127_video_ops = { |
730 | .s_vbi_data = saa7127_s_vbi_data, | ||
731 | .g_fmt = saa7127_g_fmt, | 730 | .g_fmt = saa7127_g_fmt, |
732 | .s_std_output = saa7127_s_std_output, | 731 | .s_std_output = saa7127_s_std_output, |
733 | .s_routing = saa7127_s_routing, | 732 | .s_routing = saa7127_s_routing, |
734 | .s_stream = saa7127_s_stream, | 733 | .s_stream = saa7127_s_stream, |
735 | }; | 734 | }; |
736 | 735 | ||
736 | static const struct v4l2_subdev_vbi_ops saa7127_vbi_ops = { | ||
737 | .s_vbi_data = saa7127_s_vbi_data, | ||
738 | }; | ||
739 | |||
737 | static const struct v4l2_subdev_ops saa7127_ops = { | 740 | static const struct v4l2_subdev_ops saa7127_ops = { |
738 | .core = &saa7127_core_ops, | 741 | .core = &saa7127_core_ops, |
739 | .video = &saa7127_video_ops, | 742 | .video = &saa7127_video_ops, |
743 | .vbi = &saa7127_vbi_ops, | ||
740 | }; | 744 | }; |
741 | 745 | ||
742 | /* ----------------------------------------------------------------------- */ | 746 | /* ----------------------------------------------------------------------- */ |