diff options
author | Tobias Regnery <tobias.regnery@gmail.com> | 2017-04-10 08:15:44 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-04-13 05:10:41 -0400 |
commit | e87741ac6c578b240409a8114b9350a58b0f9e93 (patch) | |
tree | 032ede30c2dcb12c1ad7696e5ee629e33fcc05cc | |
parent | aa01338c018469274848a973bcbd287ef341937c (diff) |
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>
-rw-r--r-- | drivers/clk/sunxi-ng/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index e8eca1fc31e9..1c2357301017 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig | |||
@@ -136,6 +136,7 @@ config SUN8I_V3S_CCU | |||
136 | config SUN9I_A80_CCU | 136 | config SUN9I_A80_CCU |
137 | bool "Support for the Allwinner A80 CCU" | 137 | bool "Support for the Allwinner A80 CCU" |
138 | select SUNXI_CCU_DIV | 138 | select SUNXI_CCU_DIV |
139 | select SUNXI_CCU_MULT | ||
139 | select SUNXI_CCU_GATE | 140 | select SUNXI_CCU_GATE |
140 | select SUNXI_CCU_NKMP | 141 | select SUNXI_CCU_NKMP |
141 | select SUNXI_CCU_NM | 142 | select SUNXI_CCU_NM |