mfd: vexpress-config: Export __vexpress_config_func_get and vexpress_config_func_put
Subsystems (2)
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
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/vexpress-config.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mfd/vexpress-config.c +2 -0
@@ -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
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 2Signed-off-by Axel Lin <[email protected]>
Thanks, I'll get this queued with other vexpress fixes.
Paweł