summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-17 23:19:01 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-18 08:49:18 +0200
commitf36afd38c5372a7cd5b363786fd62076c8b28427 (patch)
tree163f720861dbda00fee106014fb5cf4ecb84a9fe /drivers/clk/sunxi-ng/Kconfig
parentclk: sunxi-ng: v3s: Fix usb otg device reset bit (diff)
downloadlinux-f36afd38c5372a7cd5b363786fd62076c8b28427.tar.xz
linux-f36afd38c5372a7cd5b363786fd62076c8b28427.zip
clk: sunxi-ng: enable SUNXI_CCU_MP for PRCM
The newly added PRCM CCU driver uses SUNXI_CCU_MP_WITH_MUX_GATE, which causes a link error when no other driver enables SUNXI_CCU_MP: drivers/clk/built-in.o:(.data+0x5c8c8): undefined reference to `ccu_mp_ops' This adds an explicit 'select' statement for it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/Kconfig')
-rw-r--r--drivers/clk/sunxi-ng/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig
index b0d551a8efe4..eb89c7801f00 100644
--- a/drivers/clk/sunxi-ng/Kconfig
+++ b/drivers/clk/sunxi-ng/Kconfig
@@ -156,6 +156,7 @@ config SUN8I_R_CCU
bool "Support for Allwinner SoCs' PRCM CCUs"
select SUNXI_CCU_DIV
select SUNXI_CCU_GATE
+ select SUNXI_CCU_MP
default MACH_SUN8I || (ARCH_SUNXI && ARM64)
endif