diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-04-22 20:58:41 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-22 21:00:42 (GMT) |
commit | 1f23380b803a670a9eb53f63fd0c662d20ab1b66 (patch) | |
tree | 209572b0ee231153c6c676ab59a51ae75d1470f2 /sound/soc | |
parent | 8931bf6208776292b1b888dd8534229f63e2eaa2 (diff) | |
download | linux-1f23380b803a670a9eb53f63fd0c662d20ab1b66.tar.xz |
ASoC: Export devm_snd_soc_register_platform()
devm_snd_soc_register_platform() is used in drivers which can be build as
modules, so it needs to be exported to avoid linkers errors like:
ERROR: "devm_snd_soc_register_platform" [sound/soc/omap/snd-soc-omap.ko] undefined!
ERROR: "devm_snd_soc_register_platform" [sound/soc/davinci/snd-soc-davinci.ko] undefined!
Fixes: 8931bf620 ("ASoC: Add resource managed snd_soc_register_platform()")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-devres.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-devres.c b/sound/soc/soc-devres.c index e94aa02..057e5ef 100644 --- a/sound/soc/soc-devres.c +++ b/sound/soc/soc-devres.c @@ -85,6 +85,7 @@ int devm_snd_soc_register_platform(struct device *dev, return ret; } +EXPORT_SYMBOL_GPL(devm_snd_soc_register_platform); static void devm_card_release(struct device *dev, void *res) { |