[lkml]   [2022]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH v2] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
From: Yassine Oudjana <>

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

Signed-off-by: Yassine Oudjana <>
Reviewed-by: Chen-Yu Tsai <>
Reviewed-by: AngeloGioacchino Del Regno <>
This patch was originally part of a series, and is sent alone now since
it doesn't depend on the rest of it and can be applied directly:

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 421806236228..0c867136e49d 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(hw);

int mtk_clk_register_gates(struct device_node *node,
const struct mtk_gate *clks, int num,
 \ /
  Last update: 2022-08-13 10:33    [W:0.064 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site