diff mbox series

[3/5] power: avs: qcom-cpr: make sure that regmap is available

Message ID 20191223141934.19837-4-nks@flawful.org (mailing list archive)
State Accepted
Commit 9e39d28fcb23bcfd6e32267866c0f805f16c9c2d
Headers show
Series qcom-cpr fixes for rjw bleeding-edge | expand

Commit Message

Niklas Cassel Dec. 23, 2019, 2:19 p.m. UTC
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>
---
 drivers/power/avs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjorn Andersson Dec. 27, 2019, 6:51 a.m. UTC | #1
On Mon 23 Dec 06:19 PST 2019, Niklas Cassel wrote:

> drivers/power/avs/qcom-cpr.c:402:4:
> error: implicit declaration of function ‘regmap_multi_reg_write’
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> Signed-off-by: Niklas Cassel <nks@flawful.org>
> ---
>  drivers/power/avs/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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.
> -- 
> 2.24.1
>
diff mbox series

Patch

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.