Skip to content

Commit 083cc5e

Browse files
scosubebarino
authored andcommitted
clk: mediatek: Export required common code symbols
To make clk-mt8365 compilable as a module there are a few function symbols missing. This patch adds the required EXPORT_SYMBOL_GPL to the functions. Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://lore.kernel.org/r/20220822152652.3499972-4-msp@baylibre.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 50e68b9 commit 083cc5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/mediatek/clk-mtk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ int mtk_clk_register_dividers(const struct mtk_clk_divider *mcds, int num,
422422

423423
return PTR_ERR(hw);
424424
}
425+
EXPORT_SYMBOL_GPL(mtk_clk_register_dividers);
425426

426427
void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num,
427428
struct clk_hw_onecell_data *clk_data)
@@ -441,6 +442,7 @@ void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num,
441442
clk_data->hws[mcd->id] = ERR_PTR(-ENOENT);
442443
}
443444
}
445+
EXPORT_SYMBOL_GPL(mtk_clk_unregister_dividers);
444446

445447
int mtk_clk_simple_probe(struct platform_device *pdev)
446448
{

0 commit comments

Comments
 (0)