diff mbox series

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

Message ID 20220523160053.1922-2-miles.chen@mediatek.com (mailing list archive)
State New, archived
Headers show
Series clk: mediatek: use mtk_clk_simple_probe to simplify driver | expand

Commit Message

Miles Chen May 23, 2022, 4 p.m. UTC
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@mediatek.com>
---
 drivers/clk/mediatek/clk-mtk.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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");