public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: vexpress-config: Export __vexpress_config_func_get and vexpress_config_func_put
@ 2012-12-11  8:23 Axel Lin
  2012-12-11 13:03 ` Pawel Moll
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-12-11  8:23 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: Pawel Moll, linux-kernel

This fixes below build error:

  Building modules, stage 2.
  MODPOST 17 modules
ERROR: "__vexpress_config_func_get" [drivers/regulator/vexpress.ko] undefined!
ERROR: "vexpress_config_func_put" [drivers/regulator/vexpress.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/mfd/vexpress-config.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/vexpress-config.c b/drivers/mfd/vexpress-config.c
index fae15d8..e6b8cbc 100644
--- a/drivers/mfd/vexpress-config.c
+++ b/drivers/mfd/vexpress-config.c
@@ -142,6 +142,7 @@ struct vexpress_config_func *__vexpress_config_func_get(struct device *dev,
 
 	return func;
 }
+EXPORT_SYMBOL_GPL(__vexpress_config_func_get);
 
 void vexpress_config_func_put(struct vexpress_config_func *func)
 {
@@ -149,6 +150,7 @@ void vexpress_config_func_put(struct vexpress_config_func *func)
 	of_node_put(func->bridge->node);
 	kfree(func);
 }
+EXPORT_SYMBOL_GPL(vexpress_config_func_put);
 
 
 struct vexpress_config_trans {
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-11 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11  8:23 [PATCH] mfd: vexpress-config: Export __vexpress_config_func_get and vexpress_config_func_put Axel Lin
2012-12-11 13:03 ` Pawel Moll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox