2022-05-04 19:36:13

by Yassine Oudjana

[permalink] [raw]
Subject: [PATCH 05/13] clk: mediatek: Export mtk_free_clk_data

From: Yassine Oudjana <[email protected]>

Export mtk_free_clk_data to allow using it in clock drivers
built as modules.

Signed-off-by: Yassine Oudjana <[email protected]>
---
drivers/clk/mediatek/clk-mtk.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c
index b4063261cf56..0746b0f5beda 100644
--- a/drivers/clk/mediatek/clk-mtk.c
+++ b/drivers/clk/mediatek/clk-mtk.c
@@ -52,6 +52,7 @@ void mtk_free_clk_data(struct clk_onecell_data *clk_data)
kfree(clk_data->clks);
kfree(clk_data);
}
+EXPORT_SYMBOL_GPL(mtk_free_clk_data);

int mtk_clk_register_fixed_clks(const struct mtk_fixed_clk *clks, int num,
struct clk_onecell_data *clk_data)
--
2.36.0