aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo.ribalda@gmail.com>2015-06-12 12:31:14 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-07-06 07:25:55 -0400
commite5b40d2e11c3e2ed60ecb70313765d48c7786448 (patch)
tree3c6cae6299553c0fc072c84fb663b81b567d8f68
parent8b198c6b8b65ef39c3652972c36a43e04b4482dd (diff)
[media] media/i2c/tvp514x: Remove compat control ops
They are no longer used in old non-control-framework bridge drivers. Reported-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/i2c/tvp514x.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c
index 24e47279e30c..a93985a9b070 100644
--- a/drivers/media/i2c/tvp514x.c
+++ b/drivers/media/i2c/tvp514x.c
@@ -957,16 +957,6 @@ static int tvp514x_set_pad_format(struct v4l2_subdev *sd,
957 return 0; 957 return 0;
958} 958}
959 959
960static const struct v4l2_subdev_core_ops tvp514x_core_ops = {
961 .g_ext_ctrls = v4l2_subdev_g_ext_ctrls,
962 .try_ext_ctrls = v4l2_subdev_try_ext_ctrls,
963 .s_ext_ctrls = v4l2_subdev_s_ext_ctrls,
964 .g_ctrl = v4l2_subdev_g_ctrl,
965 .s_ctrl = v4l2_subdev_s_ctrl,
966 .queryctrl = v4l2_subdev_queryctrl,
967 .querymenu = v4l2_subdev_querymenu,
968};
969
970static const struct v4l2_subdev_video_ops tvp514x_video_ops = { 960static const struct v4l2_subdev_video_ops tvp514x_video_ops = {
971 .s_std = tvp514x_s_std, 961 .s_std = tvp514x_s_std,
972 .s_routing = tvp514x_s_routing, 962 .s_routing = tvp514x_s_routing,
@@ -983,7 +973,6 @@ static const struct v4l2_subdev_pad_ops tvp514x_pad_ops = {
983}; 973};
984 974
985static const struct v4l2_subdev_ops tvp514x_ops = { 975static const struct v4l2_subdev_ops tvp514x_ops = {
986 .core = &tvp514x_core_ops,
987 .video = &tvp514x_video_ops, 976 .video = &tvp514x_video_ops,
988 .pad = &tvp514x_pad_ops, 977 .pad = &tvp514x_pad_ops,
989}; 978};