[alsa-devel] [PATCH] ASoC: sn95031: Staticize sn95031_pcm_hw_params

Vinod Koul vinod.koul at linux.intel.com
Mon Sep 19 10:35:20 CEST 2011


On Mon, 2011-09-19 at 16:34 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin at gmail.com>
> ---
>  sound/soc/codecs/sn95031.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
> index b4f1cb4..29945b0 100644
> --- a/sound/soc/codecs/sn95031.c
> +++ b/sound/soc/codecs/sn95031.c
> @@ -658,7 +658,7 @@ static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute)
>  	return 0;
>  }
>  
> -int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
> +static int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
>  		struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
>  {
>  	unsigned int format, rate;

Acked-by: Vinod Koul <vinod.koul at linux.intel.com>

-- 
~Vinod



More information about the Alsa-devel mailing list