2019-07-18 05:37:51

by Chunyan Zhang

[permalink] [raw]
Subject: [PATCH] clk: sprd: Select REGMAP_MMIO to avoid compile errors

From: Chunyan Zhang <[email protected]>

Make REGMAP_MMIO selected to avoid undefined reference to regmap symbols.

Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
Signed-off-by: Chunyan Zhang <[email protected]>
---
drivers/clk/sprd/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/sprd/Kconfig b/drivers/clk/sprd/Kconfig
index b422ceaa709f..12e9a7fd746a 100644
--- a/drivers/clk/sprd/Kconfig
+++ b/drivers/clk/sprd/Kconfig
@@ -2,6 +2,7 @@ config SPRD_COMMON_CLK
tristate "Clock support for Spreadtrum SoCs"
depends on ARCH_SPRD || COMPILE_TEST
default ARCH_SPRD
+ select REGMAP_MMIO

if SPRD_COMMON_CLK

--
2.20.1


2019-07-23 03:54:34

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: sprd: Select REGMAP_MMIO to avoid compile errors

Quoting Chunyan Zhang (2019-07-17 22:36:16)
> From: Chunyan Zhang <[email protected]>
>
> Make REGMAP_MMIO selected to avoid undefined reference to regmap symbols.
>
> Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
> Signed-off-by: Chunyan Zhang <[email protected]>
> ---

Applied to clk-fixes