clk: sunxi-ng: select SUNXI_CCU_MULT for sun5i
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Feb 2017 14:33:57 +0000 (15:33 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 6 Feb 2017 22:48:59 +0000 (14:48 -0800)
We get a link error when CCU_MULT is not set with the
newly added driver:

drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.17+0x4): undefined reference to `ccu_mult_ops'
drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.5+0x4): undefined reference to `ccu_mult_ops'

Fixes: 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi-ng/Kconfig

index 67659091860d317bc2b7464f54a92ebb2c5313cd..695bbf9ef428f98f5348d100a6af2525f04afb59 100644 (file)
@@ -67,6 +67,7 @@ config SUN50I_A64_CCU
 config SUN5I_CCU
        bool "Support for the Allwinner sun5i family CCM"
        select SUNXI_CCU_DIV
+       select SUNXI_CCU_MULT
        select SUNXI_CCU_NK
        select SUNXI_CCU_NKM
        select SUNXI_CCU_NM