clk: sprd: Select REGMAP_MMIO to avoid compile errors
diff mbox series

Message ID 20190718053616.27042-1-zhang.lyra@gmail.com
State Accepted
Commit c9a67cbb5189e966c70451562b2ca4c3876ab546
Headers show
Series
  • clk: sprd: Select REGMAP_MMIO to avoid compile errors
Related show

Commit Message

Chunyan Zhang July 18, 2019, 5:36 a.m. UTC
From: Chunyan Zhang <chunyan.zhang@unisoc.com>

Make REGMAP_MMIO selected to avoid undefined reference to regmap symbols.

Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
---
 drivers/clk/sprd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Boyd July 22, 2019, 9:54 p.m. UTC | #1
Quoting Chunyan Zhang (2019-07-17 22:36:16)
> From: Chunyan Zhang <chunyan.zhang@unisoc.com>
> 
> Make REGMAP_MMIO selected to avoid undefined reference to regmap symbols.
> 
> Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
> Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
> ---

Applied to clk-fixes

Patch
diff mbox series

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