]> Git Repo - linux.git/commitdiff
ASoC: ac97: fixup multi-platform AC'97 module build failure
authorKevin Hilman <[email protected]>
Fri, 28 Jun 2013 18:17:49 +0000 (11:17 -0700)
committerMark Brown <[email protected]>
Sat, 29 Jun 2013 12:24:34 +0000 (13:24 +0100)
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 <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/soc-core.c

index 562d72e04e6e09c17ef9b3452187429e2f567452..0a8a5f50b4665e23eed1cf617c72a040fba37246 100644 (file)
@@ -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)
 {
This page took 0.059006 seconds and 4 git commands to generate.