summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-composite.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-07-30 04:22:50 +0300
committerShawn Guo <shawnguo@kernel.org>2020-08-22 07:38:06 +0300
commitd7d7518fdcc8f43da69fb40073273e77f24be24f (patch)
treeb61d8009632a14899c40a31e8f11c504b9e452f4 /drivers/clk/clk-composite.c
parent0d03f0292659456f5a6322ff605253b8ce4b8d52 (diff)
downloadlinux-d7d7518fdcc8f43da69fb40073273e77f24be24f.tar.xz
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>
Diffstat (limited to 'drivers/clk/clk-composite.c')
-rw-r--r--drivers/clk/clk-composite.c1
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,