diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-08 15:39:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-06-01 00:21:21 -0400 |
commit | 60298c99f792bb2fe12137360d448c72234b2d0b (patch) | |
tree | be2c4aa2714e234221bc7ef4e16c9e92479b7e87 | |
parent | 9e36eabc8a6fb87d9b97057e0d0f5195c475fbdc (diff) |
V4L/DVB: saa7127: remove obsolete g_fmt support
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/saa7127.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 87986ad62f86..79fffcf39ba8 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -645,13 +645,6 @@ static int saa7127_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f | |||
645 | return 0; | 645 | return 0; |
646 | } | 646 | } |
647 | 647 | ||
648 | static int saa7127_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | ||
649 | { | ||
650 | if (fmt->type != V4L2_BUF_TYPE_SLICED_VBI_CAPTURE) | ||
651 | return -EINVAL; | ||
652 | return saa7127_g_sliced_fmt(sd, &fmt->fmt.sliced); | ||
653 | } | ||
654 | |||
655 | static int saa7127_s_vbi_data(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *data) | 648 | static int saa7127_s_vbi_data(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *data) |
656 | { | 649 | { |
657 | switch (data->id) { | 650 | switch (data->id) { |
@@ -731,7 +724,6 @@ static const struct v4l2_subdev_core_ops saa7127_core_ops = { | |||
731 | }; | 724 | }; |
732 | 725 | ||
733 | static const struct v4l2_subdev_video_ops saa7127_video_ops = { | 726 | static const struct v4l2_subdev_video_ops saa7127_video_ops = { |
734 | .g_fmt = saa7127_g_fmt, | ||
735 | .s_std_output = saa7127_s_std_output, | 727 | .s_std_output = saa7127_s_std_output, |
736 | .s_routing = saa7127_s_routing, | 728 | .s_routing = saa7127_s_routing, |
737 | .s_stream = saa7127_s_stream, | 729 | .s_stream = saa7127_s_stream, |