clk: sunxi-ng: enable SUNXI_CCU_MP for PRCM
Subsystems (2)
PATCH 1/1 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.
--- drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/Kconfig +1 -0
@@ -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
Signature · 1 line
2.9.0
Quoted 8 lines · Arnd Bergmann
The newly added PRCM CCU driver uses
SUNXI_CCU_MP_WITH_MUX_GATE, which causes a link error when no other driver enablesSUNXI_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 <[email protected]>
Maxime Ripard
AppliedQuoted 11 lines · Chen-Yu Tsai
Quoted 8 lines · Arnd Bergmann
The newly added PRCM CCU driver uses
SUNXI_CCU_MP_WITH_MUX_GATE, which causes a link error when no other driver enablesSUNXI_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 <[email protected]>Reviewed-by Chen-Yu Tsai <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170518/2d4db7c2/attachment.sig>