clk: mediatek: Export required common code symbols
authorMarkus Schneider-Pargmann <msp@baylibre.com>
Mon, 22 Aug 2022 15:26:51 +0000 (17:26 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 30 Sep 2022 22:08:16 +0000 (15:08 -0700)
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>
drivers/clk/mediatek/clk-mtk.c

index 105fec8..d31f01d 100644 (file)
@@ -422,6 +422,7 @@ err:
 
        return PTR_ERR(hw);
 }
+EXPORT_SYMBOL_GPL(mtk_clk_register_dividers);
 
 void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num,
                                 struct clk_hw_onecell_data *clk_data)
@@ -441,6 +442,7 @@ void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num,
                clk_data->hws[mcd->id] = ERR_PTR(-ENOENT);
        }
 }
+EXPORT_SYMBOL_GPL(mtk_clk_unregister_dividers);
 
 int mtk_clk_simple_probe(struct platform_device *pdev)
 {