summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-06-28 11:17:49 -0700
committerMark Brown <broonie@linaro.org>2013-06-29 13:24:34 +0100
commitf74b5e253a062004c1d30177f9889501423e403d (patch)
tree325d99dea9291fc492cbf60bb59ef96635ad7d0b /sound
parent7685e0165b36ae034dd5e67b7fbbee7e74604f38 (diff)
downloadlinux-f74b5e253a062004c1d30177f9889501423e403d.tar.gz
linux-f74b5e253a062004c1d30177f9889501423e403d.tar.bz2
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)
{