clk: composite: Export clk_hw_register_composite()
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 30 Jul 2020 01:22:50 +0000 (09:22 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 22 Aug 2020 04:38:06 +0000 (12:38 +0800)
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>
drivers/clk/clk-composite.c

index 7376f57..2ddb54f 100644 (file)
@@ -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,