[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1355214199.7387.3.camel@phoenix>
Date: Tue, 11 Dec 2012 16:23:19 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Samuel Ortiz <sameo@...ux.intel.com>
Cc: Pawel Moll <pawel.moll@....com>, linux-kernel@...r.kernel.org
Subject: [PATCH] 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 <axel.lin@...ics.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists