diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-27 13:02:31 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-04-28 10:47:21 -0700 |
commit | 36c02d0be4c3c8804e51f9740f0d768e17f3b566 (patch) | |
tree | cb2561263573be111f632bb5ab9fcdc325677848 /lib | |
parent | e7590308d17e578e47f298cc3fec359108341cb6 (diff) | |
download | lwn-36c02d0be4c3c8804e51f9740f0d768e17f3b566.tar.gz lwn-36c02d0be4c3c8804e51f9740f0d768e17f3b566.zip |
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: 02ae2bc6febd ("clk: sunxi-ng: Add clk notifier to gate then ungate PLL clocks")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions