[HACK] include: media: revert v4l2_subdev_core_ops callback
authorWooki Min <wooki.min@samsung.com>
Fri, 28 Apr 2017 15:00:17 +0000 (00:00 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:20 +0000 (17:43 +0900)
This patch will be reverted after implementing v4l2 control framework
at FIMC-IS driver.

Change-Id: I9d1b59e04fbc17109b158ee15d7b5431ffb05378
Signed-off-by: Wooki Min <wooki.min@samsung.com>
include/media/v4l2-subdev.h

index e83872078376a9874f68ae1362478e1a881b83ae..f825f1d006c735396a4adb87e692a70eac86aa8e 100644 (file)
@@ -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,