2022-05-04 16:50:00

by Yassine Oudjana

[permalink] [raw]
Subject: [PATCH 08/13] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev

From: Yassine Oudjana <[email protected]>

This allows it to be used in drivers built as modules.

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

diff --git a/drivers/clk/mediatek/clk-gate.c b/drivers/clk/mediatek/clk-gate.c
index da52023f8455..8af907b82f8f 100644
--- a/drivers/clk/mediatek/clk-gate.c
+++ b/drivers/clk/mediatek/clk-gate.c
@@ -261,6 +261,7 @@ int mtk_clk_register_gates_with_dev(struct device_node *node,

return PTR_ERR(clk);
}
+EXPORT_SYMBOL_GPL(mtk_clk_register_gates_with_dev);

int mtk_clk_register_gates(struct device_node *node,
const struct mtk_gate *clks, int num,
--
2.36.0