diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2017-11-29 13:00:23 +0530 |
---|---|---|
committer | Amit Kucheria <amit.kucheria@linaro.org> | 2017-11-29 13:01:32 +0530 |
commit | c61f4a059525b16876d422e63f566bac6fd1116c (patch) | |
tree | 0487db8b41e4f3ad8e4e689e947afc5bedfc16f2 | |
parent | 1c09b08e5a5b88843ce6c5ca915adac81e543dd2 (diff) |
cpr: Fix compilation warningslegacy/tracking-qcomlt-cpufreq-8016
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
-rw-r--r-- | drivers/power/avs/qcom-cpr.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/power/avs/qcom-cpr.c b/drivers/power/avs/qcom-cpr.c index f9c1570dcdca..d0acb694c3cb 100644 --- a/drivers/power/avs/qcom-cpr.c +++ b/drivers/power/avs/qcom-cpr.c @@ -30,6 +30,7 @@ #include <linux/regulator/consumer.h> #include <linux/cpufreq.h> #include <linux/bitops.h> +#include <linux/nvmem-consumer.h> #include <linux/regulator/qcom_smd-regulator.h> /* Register Offsets for RB-CPR and Bit Definitions */ @@ -776,7 +777,7 @@ static int cpr_enable(struct cpr_drv *drv) return 0; } - +/* static int cpr_disable(struct cpr_drv *drv) { int ret; @@ -798,6 +799,8 @@ static int cpr_disable(struct cpr_drv *drv) return 0; } +*/ + #ifdef CONFIG_PM_SLEEP static int cpr_suspend(struct device *dev) @@ -1271,7 +1274,7 @@ cpr_get_cpu_resources(struct cpr_drv *drv, struct device_node *of_node) static int cpr_populate_opps(struct device_node *of_node, struct cpr_drv *drv, const struct corner_data **plan) { - int i, j, ret; + int j, ret; struct device *cpu_dev; struct corner *corner; const struct corner_data *p; |