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:
|
||
|---|---|---|
| .. | ||
| ap-cpu-clk.c | ||
| ap806-system-controller.c | ||
| armada-37xx-periph.c | ||
| armada-37xx-tbg.c | ||
| armada-37xx-xtal.c | ||
| armada-38x.c | ||
| armada-39x.c | ||
| armada-370.c | ||
| armada-375.c | ||
| armada-xp.c | ||
| armada_ap_cp_helper.c | ||
| armada_ap_cp_helper.h | ||
| clk-corediv.c | ||
| clk-cpu.c | ||
| common.c | ||
| common.h | ||
| cp110-system-controller.c | ||
| dove-divider.c | ||
| dove-divider.h | ||
| dove.c | ||
| Kconfig | ||
| kirkwood.c | ||
| Makefile | ||
| mv98dx3236.c | ||
| orion.c | ||