[alsa-devel] [PATCH] ALSA: Export snd_pcm_constraint_mask64()

Mark Brown broonie at kernel.org
Thu Feb 20 04:16:07 CET 2014


From: Mark Brown <broonie at linaro.org>

Allow modules to use it, fixing a build failure when the newly added
ADAU1977 driver is built as a module.

Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Mark Brown <broonie at linaro.org>
---

OK to apply this to the ASoC tree?

 sound/core/pcm_lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c
index 6630a4e..ce83def 100644
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -1240,6 +1240,7 @@ int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_par
 		return -EINVAL;
 	return 0;
 }
+EXPORT_SYMBOL(snd_pcm_hw_constraint_mask64);
 
 /**
  * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval
-- 
1.9.0.rc3



More information about the Alsa-devel mailing list