* [PATCH] mfd: Export pm80x_regmap_config
@ 2012-07-09 14:44 Axel Lin
2012-07-10 9:01 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-07-09 14:44 UTC (permalink / raw)
To: SamuelOrtiz; +Cc: Qiao Zhou, Arnd Bergmann, linux-kernel
This fixes below build error when CONFIG_MFD_88PM800=m.
ERROR: "pm80x_regmap_config" [drivers/mfd/88pm800.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mfd/88pm80x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/88pm80x.c b/drivers/mfd/88pm80x.c
index 77b8655..62da342 100644
--- a/drivers/mfd/88pm80x.c
+++ b/drivers/mfd/88pm80x.c
@@ -29,6 +29,7 @@ const struct regmap_config pm80x_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
};
+EXPORT_SYMBOL_GPL(pm80x_regmap_config);
int __devinit pm80x_init(struct i2c_client *client,
const struct i2c_device_id *id)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: Export pm80x_regmap_config
2012-07-09 14:44 [PATCH] mfd: Export pm80x_regmap_config Axel Lin
@ 2012-07-10 9:01 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2012-07-10 9:01 UTC (permalink / raw)
To: Axel Lin; +Cc: Qiao Zhou, Arnd Bergmann, linux-kernel
Hi Axel,
On Mon, Jul 09, 2012 at 10:44:21PM +0800, Axel Lin wrote:
> This fixes below build error when CONFIG_MFD_88PM800=m.
>
> ERROR: "pm80x_regmap_config" [drivers/mfd/88pm800.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> drivers/mfd/88pm80x.c | 1 +
> 1 file changed, 1 insertion(+)
Applied as well, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-10 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 14:44 [PATCH] mfd: Export pm80x_regmap_config Axel Lin
2012-07-10 9:01 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).