aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-02-19 22:13:52 -0500
committerMark Brown <broonie@linaro.org>2014-02-20 03:42:59 -0500
commit63a5d4c6a71fda7ac567627d6ac4a74e9555e97c (patch)
tree42deb8fe837023cd6088368565d5ff053e83ac51 /sound/core
parent603597c9375b8162edae3231dd4cc7f1f500de79 (diff)
ALSA: Export snd_pcm_constraint_mask64()
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@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/pcm_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c
index a2104671f51d..5dcf88bed9b7 100644
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -1242,6 +1242,7 @@ int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_par
1242 return -EINVAL; 1242 return -EINVAL;
1243 return 0; 1243 return 0;
1244} 1244}
1245EXPORT_SYMBOL(snd_pcm_hw_constraint_mask64);
1245 1246
1246/** 1247/**
1247 * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval 1248 * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval