WSL2-Linux-Kernel/drivers/clk/mvebu
Nathan Chancellor 8e3709d7e3 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: f756e362d9 ("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>
2020-07-11 09:07:06 -07:00
..
Kconfig clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER 2020-07-11 09:07:06 -07:00
Makefile clk: mvebu: add CPU clock driver for Armada 7K/8K 2019-08-08 09:08:09 -07:00
ap-cpu-clk.c drivers/clk: convert VL struct to struct_size 2019-11-08 08:36:12 -08:00
ap806-system-controller.c clk: mvebu: ap80x: add AP807 clock support 2019-09-17 22:15:41 -07:00
armada-37xx-periph.c clk: mvebu: armada-37xx-periph: change suspend/resume time 2019-10-03 14:00:20 -07:00
armada-37xx-tbg.c
armada-37xx-xtal.c
armada-38x.c
armada-39x.c
armada-370.c
armada-375.c
armada-xp.c clk: armada-xp: remove unused code 2019-11-13 13:19:56 -08:00
armada_ap_cp_helper.c clk: mvebu: add helper file for Armada AP and CP clocks 2019-08-08 09:08:09 -07:00
armada_ap_cp_helper.h clk: mvebu: add helper file for Armada AP and CP clocks 2019-08-08 09:08:09 -07:00
clk-corediv.c
clk-cpu.c
common.c
common.h
cp110-system-controller.c drivers/clk: convert VL struct to struct_size 2019-11-08 08:36:12 -08:00
dove-divider.c
dove-divider.h
dove.c
kirkwood.c clk: kirkwood: Add support for MV98DX1135 2019-06-25 14:35:21 -07:00
mv98dx3236.c
orion.c