From cc1ad098637ce687f876b5e33bb1099b7e198496 Mon Sep 17 00:00:00 2001 From: Wooki Min Date: Sat, 29 Apr 2017 00:00:17 +0900 Subject: [PATCH] [HACK] include: media: revert v4l2_subdev_core_ops callback This patch will be reverted after implementing v4l2 control framework at FIMC-IS driver. Change-Id: I9d1b59e04fbc17109b158ee15d7b5431ffb05378 Signed-off-by: Wooki Min --- include/media/v4l2-subdev.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index e83872078376..f825f1d006c7 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -193,6 +193,13 @@ struct v4l2_subdev_core_ops { int (*load_fw)(struct v4l2_subdev *sd); int (*reset)(struct v4l2_subdev *sd, u32 val); int (*s_gpio)(struct v4l2_subdev *sd, u32 val); + int (*queryctrl)(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc); + int (*g_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl); + int (*s_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl); + int (*g_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls); + int (*s_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls); + int (*try_ext_ctrls)(struct v4l2_subdev *sd, struct v4l2_ext_controls *ctrls); + int (*querymenu)(struct v4l2_subdev *sd, struct v4l2_querymenu *qm); long (*ioctl)(struct v4l2_subdev *sd, unsigned int cmd, void *arg); #ifdef CONFIG_COMPAT long (*compat_ioctl32)(struct v4l2_subdev *sd, unsigned int cmd, -- 2.20.1