projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b2a55
)
regmap: Export regmap_async_complete_cb
author
Axel Lin
<axel.lin@ingics.com>
Sat, 2 Feb 2013 16:14:13 +0000
(
00:14
+0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Feb 2013 10:22:27 +0000
(10:22 +0000)
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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/regmap.c
b/drivers/base/regmap/regmap.c
index
0bd5d0a
..
6d1e756
100644
(file)
--- a/
drivers/base/regmap/regmap.c
+++ b/
drivers/base/regmap/regmap.c
@@
-1615,6
+1615,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)
{