RE: linux-next: build failure after merge of the clk-imx tree

From: Jacky Bai
Date: Thu Sep 16 2021 - 20:47:43 EST


> Subject: linux-next: build failure after merge of the clk-imx tree
>
> Hi all,
>
> After merging the clk-imx tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "imx_clk_hw_pfdv2" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
> ERROR: modpost: "imx_clk_hw_pllv4" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
> ERROR: modpost: "imx8ulp_clk_hw_composite" [drivers/clk/imx/clk-imx8ulp.ko]
> undefined!
>

should because that these three functions are not export symbol when driver build as module.
I will generate a patch to fix it.

Thx for reporting this issue.

BR
Jacky Bai

> Caused by commit
>
> 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")
>
> I have used the clk-imx tree from next-20210916 fot today.
>
> --
> Cheers,
> Stephen Rothwell