Skip to content

Commit

Permalink
clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
Browse files Browse the repository at this point in the history
This allows it to be used in drivers built as modules.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/r/20220813083249.45427-1-y.oudjana@protonmail.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
  • Loading branch information
Yassine Oudjana authored and Chen-Yu Tsai committed Sep 26, 2022
1 parent 3dfe6e1 commit 5066c9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/mediatek/clk-gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ int mtk_clk_register_gates_with_dev(struct device_node *node,

return PTR_ERR(hw);
}
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,
Expand Down

0 comments on commit 5066c9a

Please sign in to comment.