Skip to contentSkip to conversation

clk: imx: Fix the build break when clk-imx8ulp build as module

PATCH In review Jacky Bai 2 participants 2 messages Sep 17, 2021

Subsystems (3)
lore
Share & tools
lore

Jacky Bai

author
#0 lore raw

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")
---
 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
index 89106de16a3f..4eedd45dbaa8 100644
@@ -166,3 +166,4 @@ struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *pa
 	return 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
index 42505669cdfb..6ca53a960eb7 100644
@@ -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
index 3c750ccbee25..6e7e34571fc8 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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.

Quoted 38 lines
Fixes 86ce2d393ff7 ("clk: imx: Add clock driver for imx8ulp")
---
 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
index 89106de16a3f..4eedd45dbaa8 100644
@@ -166,3 +166,4 @@ struct clk_hw *imx8ulp_clk_hw_composite(const char *name, const char * const *pa
 	return 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
index 42505669cdfb..6ca53a960eb7 100644
@@ -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
index 3c750ccbee25..6e7e34571fc8 100644
@@ -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