[PATCH] clk: imx: imx8: build base support for scu clk

From: Arnd Bergmann
Date: Mon Oct 09 2023 - 07:45:25 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

There is now a dependency on a function from the clk.c file, so
this also needs to be built:

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'

Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/clk/imx/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index db3bca5f4ec9c..c6d3fda330341 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -6,6 +6,7 @@ config MXC_CLK

config MXC_CLK_SCU
tristate
+ select MXC_CLK

config CLK_IMX1
def_bool SOC_IMX1
--
2.39.2