summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sprd
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2019-07-18 07:36:16 +0200
committerStephen Boyd <sboyd@kernel.org>2019-07-22 23:54:26 +0200
commitc9a67cbb5189e966c70451562b2ca4c3876ab546 (patch)
treec569561164c10a6435865857386e91e3398dc960 /drivers/clk/sprd
parentclk: mediatek: mt8183: Register 13MHz clock earlier for clocksource (diff)
downloadlinux-c9a67cbb5189e966c70451562b2ca4c3876ab546.tar.xz
linux-c9a67cbb5189e966c70451562b2ca4c3876ab546.zip
clk: sprd: Select REGMAP_MMIO to avoid compile errors
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>
Diffstat (limited to 'drivers/clk/sprd')
-rw-r--r--drivers/clk/sprd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sprd/Kconfig b/drivers/clk/sprd/Kconfig
index 91d3d721c801..3c219af25100 100644
--- a/drivers/clk/sprd/Kconfig
+++ b/drivers/clk/sprd/Kconfig
@@ -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