summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-09 19:59:23 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-09 19:59:22 -0800
commit5641db9743bbe2c590946061b3cc87186d051269 (patch)
treed005b19a11e3679fa0d94208286baaf71b1223e7 /include/linux
parentfcc7ba5c4023b29a680c8b70cb1fc4cd43a64baa (diff)
parente219034e0473f7cade281d7e59d9cc6418040884 (diff)
Merge "msm: thermal: Notify LMH DCVSh driver after freq mitigation request"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_thermal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/msm_thermal.h b/include/linux/msm_thermal.h
index f3ec960536aa..33286c2d81fc 100644
--- a/include/linux/msm_thermal.h
+++ b/include/linux/msm_thermal.h
@@ -255,6 +255,15 @@ extern int devmgr_client_request_mitigation(struct device_clnt_data *clnt,
extern void devmgr_unregister_mitigation_client(
struct device *dev,
struct device_clnt_data *clnt);
+#ifdef CONFIG_QCOM_THERMAL_LIMITS_DCVS
+extern int msm_lmh_dcvsh_sw_notify(int cpu);
+#else
+static inline int msm_lmh_dcvsh_sw_notify(int cpu)
+{
+ return -ENODEV;
+}
+#endif
+
#else
static inline int msm_thermal_init(struct msm_thermal_data *pdata)
{
@@ -330,6 +339,10 @@ static inline void devmgr_unregister_mitigation_client(
struct device_clnt_data *clnt)
{
}
+static inline int msm_lmh_dcvsh_sw_notify(int cpu)
+{
+ return -ENODEV;
+}
#endif
#endif /*__MSM_THERMAL_H*/