Re: [PATCH] clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver

From: Maxime Ripard
Date: Thu Apr 13 2017 - 05:11:28 EST


On Mon, Apr 10, 2017 at 02:15:44PM +0200, Tobias Regnery wrote:
> The ccu-sun9i-a80 driver uses the ccu_mult_ops struct, but unlike the other
> users it doesen't select the corresponding Kconfig symbol under which the
> struct is compiled in.
>
> This results in the following link error with CONFIG_SUN9I_A80_CCU=y and
> CONFIG_SUNXI_CCU_MULT=n:
>
> drivers/built-in.o:(.data+0x2d638): undefined reference to 'ccu_mult_ops'
>
> Fix this by explicitly selecting CONFIG_SUNXI_CCU_MULT like the other
> users of the struct.
>
> Signed-off-by: Tobias Regnery <tobias.regnery@xxxxxxxxx>

Applied, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature