Skip to content

Commit 317e69c

Browse files
committed
clk: imx: Select MXC_CLK for CLK_IMX8QXP
If the i.MX8QXP clock provider is built-in but the MXC_CLK is built as module, build fails: aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe': clk-imx8-acm.c:(.text+0x3d0): undefined reference to `imx_check_clk_hws' Fix that by selecting MXC_CLK in case of CLK_IMX8QXP. Fixes: c2cccb6 ("clk: imx: add imx8qxp clk driver") Closes: https://lore.kernel.org/all/[email protected]/ Reported-by: Randy Dunlap <[email protected]> Reviewed-by: Peng Fan <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Signed-off-by: Abel Vesa <[email protected]>
1 parent 0bb80ec commit 317e69c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/imx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ config CLK_IMX8QXP
9696
depends on (ARCH_MXC && ARM64) || COMPILE_TEST
9797
depends on IMX_SCU && HAVE_ARM_SMCCC
9898
select MXC_CLK_SCU
99+
select MXC_CLK
99100
help
100101
Build the driver for IMX8QXP SCU based clocks.
101102

0 commit comments

Comments
 (0)