]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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)
committerSasha Levin <sashal@kernel.org>
Sun, 25 Aug 2019 14:10:25 +0000 (10:10 -0400)
[ Upstream commit c9a67cbb5189e966c70451562b2ca4c3876ab546 ]

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>
Signed-off-by: Sasha Levin <sashal@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