diff options
Diffstat (limited to 'drivers/media')
-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, |