提交 1f23380b 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

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: 8931bf62 ("ASoC: Add resource managed snd_soc_register_platform()")
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 8931bf62
...@@ -85,6 +85,7 @@ int devm_snd_soc_register_platform(struct device *dev, ...@@ -85,6 +85,7 @@ int devm_snd_soc_register_platform(struct device *dev,
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(devm_snd_soc_register_platform);
static void devm_card_release(struct device *dev, void *res) static void devm_card_release(struct device *dev, void *res)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册