aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/Kconfig
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2020-07-01 13:11:29 -0700
committerStephen Boyd <sboyd@kernel.org>2020-07-11 09:07:06 -0700
commit8e3709d7e3a67e2d3f42bd1fc2052353a5678944 (patch)
tree9c8d6eb09f3d07801328f964666183be3816f15a /drivers/clk/mvebu/Kconfig
parentLinux 5.8-rc1 (diff)
downloadlinux-dev-8e3709d7e3a67e2d3f42bd1fc2052353a5678944.tar.xz
linux-dev-8e3709d7e3a67e2d3f42bd1fc2052353a5678944.zip
clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
When building arm32 allmodconfig: ld.lld: error: undefined symbol: ap_cp_unique_name >>> referenced by ap-cpu-clk.c >>> clk/mvebu/ap-cpu-clk.o:(ap_cpu_clock_probe) in archive drivers/built-in.a ap_cp_unique_name is only compiled into the kernel image when CONFIG_ARMADA_AP_CP_HELPER is selected (as it is not user selectable). However, CONFIG_ARMADA_AP_CPU_CLK does not select it. This has been a problem since the driver was added to the kernel but it was not built before commit c318ea261749 ("cpufreq: ap806: fix cpufreq driver needs ap cpu clk") so it was never noticed. Fixes: f756e362d938 ("clk: mvebu: add CPU clock driver for Armada 7K/8K") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Link: https://lore.kernel.org/r/20200701201128.2448427-1-natechancellor@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mvebu/Kconfig')
-rw-r--r--drivers/clk/mvebu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
index ded07b0bd0d5..557d6213783c 100644
--- a/drivers/clk/mvebu/Kconfig
+++ b/drivers/clk/mvebu/Kconfig
@@ -42,6 +42,7 @@ config ARMADA_AP806_SYSCON
config ARMADA_AP_CPU_CLK
bool
+ select ARMADA_AP_CP_HELPER
config ARMADA_CP110_SYSCON
bool