[PATCH 1/8] clk: mediatek export mtk_clk_simple_probe and mtk_clk_simple_remove

Miles Chen miles.chen at mediatek.com
Mon May 23 09:00:43 PDT 2022


Export mtk_clk_simple_probe and mtk_clk_simple_remove because we need
them for MediaTek tristate clk drivers.

Signed-off-by: Miles Chen <miles.chen at mediatek.com>
---
 drivers/clk/mediatek/clk-mtk.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
index b9188000ab3c..3d587371d2b5 100644
--- a/drivers/clk/mediatek/clk-mtk.c
+++ b/drivers/clk/mediatek/clk-mtk.c
@@ -452,6 +452,7 @@ int mtk_clk_simple_probe(struct platform_device *pdev)
 	mtk_free_clk_data(clk_data);
 	return r;
 }
+EXPORT_SYMBOL_GPL(mtk_clk_simple_probe);
 
 int mtk_clk_simple_remove(struct platform_device *pdev)
 {
@@ -465,5 +466,6 @@ int mtk_clk_simple_remove(struct platform_device *pdev)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(mtk_clk_simple_remove);
 
 MODULE_LICENSE("GPL");
-- 
2.18.0




More information about the Linux-mediatek mailing list