clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver
authorTobias Regnery <tobias.regnery@gmail.com>
Mon, 10 Apr 2017 12:15:44 +0000 (14:15 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 13 Apr 2017 09:10:41 +0000 (11:10 +0200)
commite87741ac6c578b240409a8114b9350a58b0f9e93
tree032ede30c2dcb12c1ad7696e5ee629e33fcc05cc
parentaa01338c018469274848a973bcbd287ef341937c
clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver

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@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/Kconfig