summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSureshnaidu Laveti <lsuresh@codeaurora.org>2016-02-09 16:23:51 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:52 -0700
commit6b99b4c9a1706f8f7f1745af97e0f4bddecf168b (patch)
treef201e708339c3a36febb35ff729402154da15dbf /include
parent4b59895784a95e11edef258ed2b1e6291cccda87 (diff)
msm: camera: sensor: Adapting sensor driver to soc layer
Adapting sensor driver to SOC layer by replacing msm specific routines with SOC API which eases the portability of sensor driver on to non-msm platforms. Change-Id: I147dbf714d913b4aa55adc313c354f85cf4b23dd Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/camera2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/soc/qcom/camera2.h b/include/soc/qcom/camera2.h
index 03c0d34ab746..6e1aac3ff05a 100644
--- a/include/soc/qcom/camera2.h
+++ b/include/soc/qcom/camera2.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -104,10 +104,11 @@ struct msm_camera_power_ctrl_t {
struct camera_vreg_t *cam_vreg;
int num_vreg;
struct msm_camera_i2c_conf *i2c_conf;
+ struct clk **clk_ptr;
struct msm_cam_clk_info *clk_info;
struct msm_pinctrl_info pinctrl_info;
uint8_t cam_pinctrl_status;
- uint16_t clk_info_size;
+ size_t clk_info_size;
};
enum msm_camera_actuator_name {