clk: sprd: Select REGMAP_MMIO to avoid compile errors
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Thu, 18 Jul 2019 05:36:16 +0000 (13:36 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 22 Jul 2019 21:54:26 +0000 (14:54 -0700)
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>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sprd/Kconfig

index 91d3d721c801e13ba1f44e1c26139922dcc73a00..3c219af2510016ed76f3069743abd23a6c0072f9 100644 (file)
@@ -3,6 +3,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