Skip to content

Commit

Permalink
clk: mediatek: Export required common code symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
scosu authored and intel-lab-lkp committed Aug 22, 2022
1 parent 97cc50c commit 1b4dadc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/clk/mediatek/clk-mtk.c
Expand Up @@ -422,6 +422,7 @@ int mtk_clk_register_dividers(const struct mtk_clk_divider *mcds, int num,

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)
Expand All @@ -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)
{
Expand Down Expand Up @@ -482,6 +484,7 @@ int mtk_clk_simple_probe(struct platform_device *pdev)
mtk_free_clk_data(clk_data);
return r;
}
EXPORT_SYMBOL_GPL(mtk_clk_simple_probe);

int mtk_clk_simple_remove(struct platform_device *pdev)
{
Expand All @@ -495,5 +498,6 @@ int mtk_clk_simple_remove(struct platform_device *pdev)

return 0;
}
EXPORT_SYMBOL_GPL(mtk_clk_simple_remove);

MODULE_LICENSE("GPL");

0 comments on commit 1b4dadc

Please sign in to comment.