[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1591687933-19495-2-git-send-email-Anson.Huang@nxp.com>
Date: Tue, 9 Jun 2020 15:32:05 +0800
From: Anson Huang <Anson.Huang@....com>
To: linux@...linux.org.uk, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, mturquette@...libre.com,
sboyd@...nel.org, oleksandr.suvorov@...adex.com,
stefan.agner@...adex.com, arnd@...db.de, abel.vesa@....com,
peng.fan@....com, aisheng.dong@....com, tglx@...utronix.de,
allison@...utok.net, gregkh@...uxfoundation.org, info@...ux.net,
leonard.crestez@....com, fugang.duan@....com,
daniel.baluta@....com, yuehaibing@...wei.com, sfr@...b.auug.org.au,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH V2 1/9] 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!
scripts/Makefile.modpost:111: recipe for target 'Module.symvers' failed
make[1]: *** [Module.symvers] Error 1
make[1]: *** Deleting file 'Module.symvers'
Makefile:1384: recipe for target 'modules' failed
make: *** [modules] Error 2
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
No change.
---
drivers/clk/clk-composite.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c
index 7376f57..2ddb54f 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,
--
2.7.4
Powered by blists - more mailing lists