regmap: Export regmap_async_complete_cb
Subsystems (2)
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
Signed-off-by Axel Lin <[email protected]>
--- drivers/base/regmap/regmap.c | 1 + 1 file changed, 1 insertion(+)
drivers/base/regmap/regmap.c +1 -0
@@ -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
Mark Brown
AppliedQuoted 5 lines · Axel Lin
This fixes below build error when
CONFIG_REGMAP=y&&CONFIG_REGMAP_SPI=mERROR: "
regmap_async_complete_cb" [drivers/base/regmap/regmap-spi.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Applied, thanks.