Skip to content

Commit e8271ef

Browse files
fabioestevamabelvesa
authored andcommitted
clk: imx: Make CLK_IMX8ULP select MXC_CLK
Building CLK_IMX8ULP without selecting MXC_CLK causes the following build errors: ld: drivers/clk/imx/clk-imx8ulp.o: in function `imx8ulp_clk_cgc2_init': clk-imx8ulp.c:(.text+0xd0): undefined reference to `imx_ccm_lock' ld: clk-imx8ulp.c:(.text+0x14f): undefined reference to `imx_clk_hw_pllv4' ld: clk-imx8ulp.c:(.text+0x15a): undefined reference to `imx_ccm_lock' Avoid this problem by making CLK_IMX8ULP select MXC_CLK. Fixes: c43a801 ("clk: imx: Add clock driver for imx8ulp") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Randy Dunlap <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
1 parent d101225 commit e8271ef

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
@@ -102,5 +102,6 @@ config CLK_IMX8QXP
102102
config CLK_IMX8ULP
103103
tristate "IMX8ULP CCM Clock Driver"
104104
depends on ARCH_MXC || COMPILE_TEST
105+
select MXC_CLK
105106
help
106107
Build the driver for i.MX8ULP CCM Clock Driver

0 commit comments

Comments
 (0)