diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-07-30 03:22:50 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 06:38:06 +0200 |
commit | d7d7518fdcc8f43da69fb40073273e77f24be24f (patch) | |
tree | b61d8009632a14899c40a31e8f11c504b9e452f4 | |
parent | clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31 bits (diff) | |
download | linux-d7d7518fdcc8f43da69fb40073273e77f24be24f.tar.xz linux-d7d7518fdcc8f43da69fb40073273e77f24be24f.zip |
clk: composite: Export clk_hw_register_composite()
Export clk_hw_register_composite() to support user built as module.
ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko]
undefined!
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | drivers/clk/clk-composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c index 7376f573bfdb..2ddb54f7d3ab 100644 --- a/drivers/clk/clk-composite.c +++ b/drivers/clk/clk-composite.c @@ -328,6 +328,7 @@ struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, rate_hw, rate_ops, gate_hw, gate_ops, flags); } +EXPORT_SYMBOL_GPL(clk_hw_register_composite); struct clk_hw *clk_hw_register_composite_pdata(struct device *dev, const char *name, |