summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-20 23:44:48 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 23:44:47 -0800
commitab12376e5f69a7aa4de8f29278002564e334665d (patch)
tree64bd6565e5382c8db0252b693cee5b5e4595a3cb /include
parent4802720f7bd5441cfaebbe28061ef3944f07df2b (diff)
parent7dcadefa9c28e9c87140112a44e18e55fe1d4090 (diff)
Merge "msm: camera: add logic to support sensor compatibility"
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/camera2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/qcom/camera2.h b/include/soc/qcom/camera2.h
index bf9db17e6981..5a61d2b372c3 100644
--- a/include/soc/qcom/camera2.h
+++ b/include/soc/qcom/camera2.h
@@ -20,6 +20,7 @@
#include <linux/of_device.h>
#include <linux/of.h>
+#define MAX_SPECIAL_SUPPORT_SIZE 10
enum msm_camera_device_type_t {
MSM_CAMERA_I2C_DEVICE,
@@ -148,6 +149,8 @@ struct msm_camera_sensor_board_info {
const char *actuator_name;
const char *ois_name;
const char *flash_name;
+ const char *special_support_sensors[MAX_SPECIAL_SUPPORT_SIZE];
+ int32_t special_support_size;
struct msm_camera_slave_info *slave_info;
struct msm_camera_csi_lane_params *csi_lane_params;
struct msm_camera_sensor_strobe_flash_data *strobe_flash_data;