summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/vid-pll-div.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2024-07-19 11:42:26 +0200
committerJerome Brunet <jbrunet@baylibre.com>2024-07-29 16:47:33 +0200
commitadac147c6a32e2919cb04555387e12e738991a19 (patch)
treeeeac9cc1edb452af164b6d328a9c137e851e075f /drivers/clk/meson/vid-pll-div.c
parent4cb834703c6434c1f59156ed7b358cefaff13782 (diff)
clk: meson: introduce symbol namespace for amlogic clocks
Symbols exported by the Amlogic clock modules are only meant to be used by Amlogic clock controller drivers. Using a dedicated symbols namespace make that clear and help clean the global namespace of symbols other modules do no need. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20240719094228.3985595-1-jbrunet@baylibre.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/vid-pll-div.c')
-rw-r--r--drivers/clk/meson/vid-pll-div.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/vid-pll-div.c b/drivers/clk/meson/vid-pll-div.c
index ee129f86794d..486cf68fc97a 100644
--- a/drivers/clk/meson/vid-pll-div.c
+++ b/drivers/clk/meson/vid-pll-div.c
@@ -92,8 +92,9 @@ static unsigned long meson_vid_pll_div_recalc_rate(struct clk_hw *hw,
const struct clk_ops meson_vid_pll_div_ro_ops = {
.recalc_rate = meson_vid_pll_div_recalc_rate,
};
-EXPORT_SYMBOL_GPL(meson_vid_pll_div_ro_ops);
+EXPORT_SYMBOL_NS_GPL(meson_vid_pll_div_ro_ops, CLK_MESON);
MODULE_DESCRIPTION("Amlogic video pll divider driver");
MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
MODULE_LICENSE("GPL");
+MODULE_IMPORT_NS(CLK_MESON);