Commit 7a74e1e4 authored by Abel Vesa's avatar Abel Vesa Committed by Stephen Boyd

clk: imx: Select MXC_CLK for i.MX93 clock driver

Most of the i.MX clock generic API is built by selecting MXC_CLK.
Without it, the i.MX93 clock driver will fail to build:

aarch64-linux-gnu-ld: drivers/clk/imx/clk-imx93.o:
in function `imx93_clocks_probe': clk-imx93.c:(.text+0xa8):
undefined reference to `imx_obtain_fixed_clk_hw'

So fix this by selecting MXC_CLK for the CLK_IMX93.

Fixes: 24defbe1 ("clk: imx: add i.MX93 clk")
Signed-off-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20220315082446.3120850-1-abel.vesa@nxp.comReviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 3e6054d0
...@@ -109,6 +109,7 @@ config CLK_IMX8ULP ...@@ -109,6 +109,7 @@ config CLK_IMX8ULP
config CLK_IMX93 config CLK_IMX93
tristate "IMX93 CCM Clock Driver" tristate "IMX93 CCM Clock Driver"
depends on ARCH_MXC || COMPILE_TEST depends on ARCH_MXC || COMPILE_TEST
select MXC_CLK
help help
Build the driver for i.MX93 CCM Clock Driver Build the driver for i.MX93 CCM Clock Driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment