Skip to contentSkip to conversation

mfd: vexpress-config: Export __vexpress_config_func_get and vexpress_config_func_put

PATCH In review Axel Lin 2 participants 2 messages Dec 11, 2012

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mfd: vexpress-config: Export __vexpress_config_func_get and vexpress_config_func_put

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

---
 drivers/mfd/vexpress-config.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/mfd/vexpress-config.c +2 -0
index fae15d8..e6b8cbc 100644
@@ -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 {
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 10 lines · Axel Lin

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

Thanks, I'll get this queued with other vexpress fixes.

Paweł