Commit 36c02d0b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Stephen Boyd
Browse files

clk: sunxi-ng: always select CCU_GATE

When the base driver is enabled but all SoC specific drivers are turned
off, we now get a build error after code was added to always refer to the
clk gates:

drivers/clk/built-in.o: In function `ccu_pll_notifier_cb':
:(.text+0x154f8): undefined reference to `ccu_gate_helper_disable'
:(.text+0x15504): undefined reference to `ccu_gate_helper_enable'

This changes the Kconfig to always require the gate code to be built-in
when CONFIG_SUNXI_CCU is set.

Fixes: 02ae2bc6

 ("clk: sunxi-ng: Add clk notifier to gate then ungate PLL clocks")
Signed-off-by: default avatarArnd Bergmann <>
Acked-by: default avatarMaxime Ripard <>
Signed-off-by: default avatarStephen Boyd <>
parent e7590308
......@@ -16,7 +16,7 @@ config SUNXI_CCU_FRAC
def_bool y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment