clk: imx: Fix the build break when clk-imx8ulp build as module
Subsystems (3)
PATCH 1/1 clk: imx: Fix the build break when clk-imx8ulp build as module
Export the necessary symbols to fix the build break when clk-imx8ulp build as module
Fixes 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")
Signed-off-by Jacky Bai <[email protected]>
--- drivers/clk/imx/clk-composite-7ulp.c | 1 + drivers/clk/imx/clk-pfdv2.c | 1 + drivers/clk/imx/clk-pllv4.c | 1 + 3 files changed, 3 insertions(+)
drivers/clk/imx/clk-composite-7ulp.c +1 -0
@@ -166,3 +166,4 @@ struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *pareturn imx_ulp_clk_hw_composite (name, parent_names, num_parents, mux_present, rate_present, gate_present, reg, has_swrst); } +EXPORT_SYMBOL_GPL (imx8ulp_clk_hw_composite);
drivers/clk/imx/clk-pfdv2.c +1 -0
@@ -239,3 +239,4 @@ struct clk_hw *imx_clk_hw_pfdv2(enum imx_pfdv2_type type, const char *name,return hw; } +EXPORT_SYMBOL_GPL (imx_clk_hw_pfdv2);
drivers/clk/imx/clk-pllv4.c +1 -0
@@ -254,3 +254,4 @@ struct clk_hw *imx_clk_hw_pllv4(enum imx_pllv4_type type, const char *name,return hw; } +EXPORT_SYMBOL_GPL (imx_clk_hw_pllv4);
Signature · 1 line
2.26.2
Quoted 3 lines · Jacky Bai
Export the necessary symbols to fix the build break when clk-imx8ulp build as module
Well, since it is only in linux-next, I'll apply it to my tree.
Reviewed-by Abel Vesa <[email protected]>
Quoted 38 lines
Fixes 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")Signed-off-by Jacky Bai <[email protected]>--- drivers/clk/imx/clk-composite-7ulp.c | 1 + drivers/clk/imx/clk-pfdv2.c | 1 + drivers/clk/imx/clk-pllv4.c | 1 + 3 files changed, 3 insertions(+)drivers/clk/imx/clk-composite-7ulp.c +1
-0@@ -166,3 +166,4 @@ struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *pareturn imx_ulp_clk_hw_composite (name, parent_names, num_parents, mux_present, rate_present, gate_present, reg, has_swrst); } +EXPORT_SYMBOL_GPL (imx8ulp_clk_hw_composite);drivers/clk/imx/clk-pfdv2.c +1
-0@@ -239,3 +239,4 @@ struct clk_hw *imx_clk_hw_pfdv2(enum imx_pfdv2_type type, const char *name,return hw; } +EXPORT_SYMBOL_GPL (imx_clk_hw_pfdv2);drivers/clk/imx/clk-pllv4.c +1
-0@@ -254,3 +254,4 @@ struct clk_hw *imx_clk_hw_pllv4(enum imx_pllv4_type type, const char *name,return hw; } +EXPORT_SYMBOL_GPL (imx_clk_hw_pllv4);Signature · 1 line
2.26.2