[PATCH 09/13] clk: mediatek: reset: Export mtk_register_reset_controller symbols
Yassine Oudjana
yassine.oudjana at gmail.com
Wed May 4 05:25:58 PDT 2022
From: Yassine Oudjana <y.oudjana at protonmail.com>
Export mtk_register_reset_controller and
mtk_register_reset_controller_set_clr to support building reset
drivers as modules.
Signed-off-by: Yassine Oudjana <y.oudjana at protonmail.com>
---
drivers/clk/mediatek/reset.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/mediatek/reset.c b/drivers/clk/mediatek/reset.c
index bcec4b89f449..6c2effe6afef 100644
--- a/drivers/clk/mediatek/reset.c
+++ b/drivers/clk/mediatek/reset.c
@@ -129,6 +129,7 @@ void mtk_register_reset_controller(struct device_node *np,
mtk_register_reset_controller_common(np, num_regs, regofs,
&mtk_reset_ops);
}
+EXPORT_SYMBOL_GPL(mtk_register_reset_controller);
void mtk_register_reset_controller_set_clr(struct device_node *np,
unsigned int num_regs, int regofs)
@@ -136,5 +137,6 @@ void mtk_register_reset_controller_set_clr(struct device_node *np,
mtk_register_reset_controller_common(np, num_regs, regofs,
&mtk_reset_ops_set_clr);
}
+EXPORT_SYMBOL_GPL(mtk_register_reset_controller_set_clr);
MODULE_LICENSE("GPL");
--
2.36.0
More information about the linux-arm-kernel
mailing list