diff options
author | Kevin Hilman <khilman@baylibre.com> | 2020-11-18 22:14:05 +0300 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2020-11-23 11:08:23 +0300 |
commit | 20425f6319480e84f48261fc7c0e4ce61a6d333e (patch) | |
tree | e1b3fb65784a3c40b03306bf44c8b295940f4ca9 /drivers/clk/meson/meson-aoclk.c | |
parent | bae69bfa3a586493469078ec4ca35499b754ba5c (diff) | |
download | linux-20425f6319480e84f48261fc7c0e4ce61a6d333e.tar.xz |
clk: meson: enable building as modules
Make it possible to build all clk drivers as modules, but default
remains built-in.
No functional changes.
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20201118191405.36798-1-khilman@baylibre.com
Diffstat (limited to 'drivers/clk/meson/meson-aoclk.c')
-rw-r--r-- | drivers/clk/meson/meson-aoclk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/meson/meson-aoclk.c b/drivers/clk/meson/meson-aoclk.c index 3a6d84cd6601..27cd2c1f3f61 100644 --- a/drivers/clk/meson/meson-aoclk.c +++ b/drivers/clk/meson/meson-aoclk.c @@ -14,6 +14,8 @@ #include <linux/reset-controller.h> #include <linux/mfd/syscon.h> #include <linux/of_device.h> +#include <linux/module.h> + #include <linux/slab.h> #include "meson-aoclk.h" @@ -84,3 +86,5 @@ int meson_aoclkc_probe(struct platform_device *pdev) return devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, (void *) data->hw_data); } +EXPORT_SYMBOL_GPL(meson_aoclkc_probe); +MODULE_LICENSE("GPL v2"); |