[PATCH 1/1] clk: Export clk_register_composite

Wendell Lin wendell.lin at mediatek.com
Thu Jul 23 04:32:06 EDT 2020


clk_register_composite() will be used in mediatek's
clock kernel module, so export it to GPL modules.

Signed-off-by: Wendell Lin <wendell.lin at mediatek.com>
---
 drivers/clk/clk-composite.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c
index 7376f57..7c609c2 100644
--- a/drivers/clk/clk-composite.c
+++ b/drivers/clk/clk-composite.c
@@ -360,6 +360,7 @@ struct clk *clk_register_composite(struct device *dev, const char *name,
 		return ERR_CAST(hw);
 	return hw->clk;
 }
+EXPORT_SYMBOL_GPL(clk_register_composite);
 
 struct clk *clk_register_composite_pdata(struct device *dev, const char *name,
 			const struct clk_parent_data *parent_data,
-- 
1.7.9.5


More information about the linux-arm-kernel mailing list