summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiddartha Mohanadoss <smohanad@codeaurora.org>2016-02-18 13:32:52 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:10:50 -0700
commit784e256994736a4f417f715b8a1db16eb0ff9989 (patch)
tree1801374b4314bb3133774b16240544797bd11b4e /include
parente4ddf53067d44e58aca72897fc4354481208fcde (diff)
thermal: qpnp-adc-tm: Enable VADC_TM
This snapshot is taken as of msm-3.18 commit dbdb6776f (Merge "msm: camera: Add dummy sub module in sensor pipeline") Fixup compilation to support int type for temperature value as part of thermal ops API upgrade. Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/qpnp/qpnp-adc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/qpnp/qpnp-adc.h b/include/linux/qpnp/qpnp-adc.h
index d7bdb2cce396..e143b93ce020 100644
--- a/include/linux/qpnp/qpnp-adc.h
+++ b/include/linux/qpnp/qpnp-adc.h
@@ -2063,6 +2063,10 @@ static inline void qpnp_adc_disable_voltage(struct qpnp_adc_drv *adc)
static inline void qpnp_adc_free_voltage_resource(struct qpnp_adc_drv *adc)
{ return; }
+static inline int32_t qpnp_adc_get_devicetree_data(
+ struct platform_device *pdev, struct qpnp_adc_drv *adc_qpnp)
+{ return -ENXIO; }
+
#endif
/* Public API */