Skip to content

Commit e87741a

Browse files
Toreg87mripard
authored andcommitted
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 <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent aa01338 commit e87741a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/sunxi-ng/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ config SUN8I_V3S_CCU
136136
config SUN9I_A80_CCU
137137
bool "Support for the Allwinner A80 CCU"
138138
select SUNXI_CCU_DIV
139+
select SUNXI_CCU_MULT
139140
select SUNXI_CCU_GATE
140141
select SUNXI_CCU_NKMP
141142
select SUNXI_CCU_NM

0 commit comments

Comments
 (0)