summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-06-28 20:17:49 +0200
committerMark Brown <broonie@linaro.org>2013-06-29 14:24:34 +0200
commitf74b5e253a062004c1d30177f9889501423e403d (patch)
tree325d99dea9291fc492cbf60bb59ef96635ad7d0b /sound
parentASoC: pxa2xx: fixup multi-platform AC'97 build failures (diff)
downloadlinux-f74b5e253a062004c1d30177f9889501423e403d.tar.xz
linux-f74b5e253a062004c1d30177f9889501423e403d.zip
ASoC: ac97: fixup multi-platform AC'97 module build failure
commit b047e1cc (ASoC: ac97: Support multi-platform AC'97) introduced some build failures for modules wanting to access the generic soc_ac97_ops. For example: ERROR: "soc_ac97_ops" [sound/soc/codecs/snd-soc-wm9712.ko] undefined! To fix, export soc_ac97_ops to modules. Cc: Mark Brown <broonie@linaro.org> Signed-off-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 562d72e04e6e..0a8a5f50b466 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2080,6 +2080,7 @@ int snd_soc_new_ac97_codec(struct snd_soc_codec *codec,
EXPORT_SYMBOL_GPL(snd_soc_new_ac97_codec);
struct snd_ac97_bus_ops *soc_ac97_ops;
+EXPORT_SYMBOL_GPL(soc_ac97_ops);
int snd_soc_set_ac97_ops(struct snd_ac97_bus_ops *ops)
{