Skip to content

Commit

Permalink
clk: imx: Make CLK_IMX8ULP select MXC_CLK
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fabioestevam authored and abelvesa committed Oct 6, 2021
1 parent d101225 commit e8271ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@ config CLK_IMX8QXP
config CLK_IMX8ULP
tristate "IMX8ULP CCM Clock Driver"
depends on ARCH_MXC || COMPILE_TEST
select MXC_CLK
help
Build the driver for i.MX8ULP CCM Clock Driver

0 comments on commit e8271ef

Please sign in to comment.