diff options
author | Miles Chen <miles.chen@mediatek.com> | 2021-09-02 00:25:25 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-09-15 03:20:20 +0200 |
commit | 32b028fb1d09a0e8353c1b4fae324d8c740aa05f (patch) | |
tree | 3733392c9dbc49d95f33e3a4b76368fe6c1e147b /drivers/clk/mediatek/clk-mux.c | |
parent | clk: composite: export clk_register_composite (diff) | |
download | linux-32b028fb1d09a0e8353c1b4fae324d8c740aa05f.tar.xz linux-32b028fb1d09a0e8353c1b4fae324d8c740aa05f.zip |
clk: mediatek: support COMMON_CLK_MEDIATEK module build
To support COMMON_CLK_MEDIATEK module build,
add MODULE_LICENSE and export necessary symbols.
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Hanks Chen <hanks.chen@mediatek.com>
Cc: Wendell Lin <wendell.lin@mediatek.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Link: https://lore.kernel.org/r/20210901222526.31065-3-miles.chen@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mux.c')
-rw-r--r-- | drivers/clk/mediatek/clk-mux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mux.c b/drivers/clk/mediatek/clk-mux.c index 855b0a1f7eb9..6b8a274e2c01 100644 --- a/drivers/clk/mediatek/clk-mux.c +++ b/drivers/clk/mediatek/clk-mux.c @@ -8,6 +8,7 @@ #include <linux/of_address.h> #include <linux/slab.h> #include <linux/mfd/syscon.h> +#include <linux/module.h> #include "clk-mtk.h" #include "clk-mux.h" @@ -195,3 +196,6 @@ int mtk_clk_register_muxes(const struct mtk_mux *muxes, return 0; } +EXPORT_SYMBOL_GPL(mtk_clk_register_muxes); + +MODULE_LICENSE("GPL"); |