diff mbox

ALSA: Export snd_pcm_constraint_mask64()

Message ID 1392866167-15735-1-git-send-email-broonie@kernel.org (mailing list archive)
State Accepted
Commit 63a5d4c6a71fda7ac567627d6ac4a74e9555e97c
Headers show

Commit Message

Mark Brown Feb. 20, 2014, 3:16 a.m. UTC
From: Mark Brown <broonie@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@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@linaro.org>
---

OK to apply this to the ASoC tree?

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

Comments

Takashi Iwai Feb. 20, 2014, 7:09 a.m. UTC | #1
At Thu, 20 Feb 2014 12:16:07 +0900,
Mark Brown wrote:
> 
> From: Mark Brown <broonie@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@canb.auug.org.au>
> Signed-off-by: Mark Brown <broonie@linaro.org>
> ---
> 
> OK to apply this to the ASoC tree?

Sure, feel free to take my ack
	Acked-by: Takashi Iwai <tiwai@suse.de>


Takashi

> 
>  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
>
Mark Brown Feb. 20, 2014, 8:55 a.m. UTC | #2
On Thu, Feb 20, 2014 at 08:09:58AM +0100, Takashi Iwai wrote:
> Mark Brown wrote:

> > OK to apply this to the ASoC tree?

> Sure, feel free to take my ack
> 	Acked-by: Takashi Iwai <tiwai@suse.de>

Great, thanks - done now.
diff mbox

Patch

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