summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorNiklas Cassel <nks@flawful.org>2019-12-23 15:19:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-29 22:11:22 +0100
commit9e39d28fcb23bcfd6e32267866c0f805f16c9c2d (patch)
treea742dc60bf980e6d2c04a4783552fe5be23c4f43 /drivers/power
parentpower: avs: qcom-cpr: fix unsigned expression compared with zero (diff)
downloadlinux-9e39d28fcb23bcfd6e32267866c0f805f16c9c2d.tar.xz
linux-9e39d28fcb23bcfd6e32267866c0f805f16c9c2d.zip
power: avs: qcom-cpr: make sure that regmap is available
drivers/power/avs/qcom-cpr.c:402:4: error: implicit declaration of function ‘regmap_multi_reg_write’ Signed-off-by: Niklas Cassel <nks@flawful.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/avs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/avs/Kconfig b/drivers/power/avs/Kconfig
index c21882908a66..b8fe166cd0d9 100644
--- a/drivers/power/avs/Kconfig
+++ b/drivers/power/avs/Kconfig
@@ -16,6 +16,7 @@ config QCOM_CPR
tristate "QCOM Core Power Reduction (CPR) support"
depends on POWER_AVS
select PM_OPP
+ select REGMAP
help
Say Y here to enable support for the CPR hardware found on Qualcomm
SoCs like QCS404.