[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220504122601.335495-10-y.oudjana@protonmail.com>
Date: Wed, 4 May 2022 16:25:58 +0400
From: Yassine Oudjana <yassine.oudjana@...il.com>
To: Matthias Brugger <matthias.bgg@...il.com>,
Stephen Boyd <sboyd@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Yassine Oudjana <y.oudjana@...tonmail.com>,
Yassine Oudjana <yassine.oudjana@...il.com>,
Chun-Jie Chen <chun-jie.chen@...iatek.com>,
Chen-Yu Tsai <wenst@...omium.org>,
Tinghan Shen <tinghan.shen@...iatek.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Weiyi Lu <weiyi.lu@...iatek.com>,
Ikjoon Jang <ikjn@...omium.org>,
Miles Chen <miles.chen@...iatek.com>,
Sam Shih <sam.shih@...iatek.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 09/13] clk: mediatek: reset: Export mtk_register_reset_controller symbols
From: Yassine Oudjana <y.oudjana@...tonmail.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@...tonmail.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
Powered by blists - more mailing lists