diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-07-30 03:22:51 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 06:38:20 +0200 |
commit | 870ed5e22ae18b63751140b4050050ca2115ba60 (patch) | |
tree | 843dc169db53c1ab3bfe80e17deddfdb041b39de /drivers/clk/imx/clk-cpu.c | |
parent | clk: composite: Export clk_hw_register_composite() (diff) | |
download | linux-870ed5e22ae18b63751140b4050050ca2115ba60.tar.xz linux-870ed5e22ae18b63751140b4050050ca2115ba60.zip |
clk: imx: Support building i.MX common clock driver as module
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk-cpu.c')
-rw-r--r-- | drivers/clk/imx/clk-cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-cpu.c b/drivers/clk/imx/clk-cpu.c index cb182bec79ba..cb6ca4cf0535 100644 --- a/drivers/clk/imx/clk-cpu.c +++ b/drivers/clk/imx/clk-cpu.c @@ -5,6 +5,7 @@ #include <linux/clk.h> #include <linux/clk-provider.h> +#include <linux/export.h> #include <linux/slab.h> #include "clk.h" @@ -104,3 +105,4 @@ struct clk_hw *imx_clk_hw_cpu(const char *name, const char *parent_name, return hw; } +EXPORT_SYMBOL_GPL(imx_clk_hw_cpu); |