Re: [PATCH] ASoC: sn95031: Staticize sn95031_pcm_hw_params

From: Vinod Koul
Date: Mon Sep 19 2011 - 04:39:23 EST


On Mon, 2011-09-19 at 16:34 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx>

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/