Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73d76968 authored by Rajesh Bondugula's avatar Rajesh Bondugula
Browse files

msm: camera: sensor: initialze the subdev fops instance



Initialize the subdev fops instance with
standard v4l2 subdev fops.

Change-Id: I14191ecff0fde9dcb5df04b6d092d6afc2b8794b
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
parent f8fa637b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1153,7 +1153,7 @@ static int32_t msm_actuator_i2c_probe(struct i2c_client *client,
	act_ctrl_t->msm_sd.sd.entity.group_id = MSM_CAMERA_SUBDEV_ACTUATOR;
	act_ctrl_t->msm_sd.close_seq = MSM_SD_CLOSE_2ND_CATEGORY | 0x2;
	msm_sd_register(&act_ctrl_t->msm_sd);

	msm_actuator_v4l2_subdev_fops = v4l2_subdev_fops;
#ifdef CONFIG_COMPAT
	msm_actuator_v4l2_subdev_fops.compat_ioctl32 =
		msm_actuator_subdev_fops_ioctl;