Skip to contentSkip to conversation

regmap: Export regmap_async_complete_cb

PATCH Applied Axel Lin 2 participants 2 messages Feb 2, 2013 – Feb 4, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regmap: Export regmap_async_complete_cb

This fixes below build error when CONFIG_REGMAP=y && CONFIG_REGMAP_SPI=m

ERROR: "regmap_async_complete_cb" [drivers/base/regmap/regmap-spi.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

---
 drivers/base/regmap/regmap.c |    1 +
 1 file changed, 1 insertion(+)
drivers/base/regmap/regmap.c +1 -0
index bee8560..9a516b8b 100644
@@ -1655,6 +1655,7 @@ void regmap_async_complete_cb(struct regmap_async *async, int ret)
 	if (wake)
 		wake_up(&map->async_waitq);
 }
+EXPORT_SYMBOL_GPL(regmap_async_complete_cb);
 
 static int regmap_async_is_done(struct regmap *map)
 {
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 5 lines · Axel Lin

This fixes below build error when CONFIG_REGMAP=y && CONFIG_REGMAP_SPI=m

ERROR: "regmap_async_complete_cb" [drivers/base/regmap/regmap-spi.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Applied, thanks.