From: Wooki Min Date: Fri, 28 Apr 2017 15:00:17 +0000 (+0900) Subject: [HACK] include: media: revert v4l2_subdev_core_ops callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc1ad098637ce687f876b5e33bb1099b7e198496;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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,