From: Axel Lin Date: Mon, 19 Sep 2011 08:34:28 +0000 (+0800) Subject: ASoC: sn95031: Staticize sn95031_pcm_hw_params X-Git-Tag: upstream/snapshot3+hdmi~7307^2~836 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d42940c25ac69c4f5240392cf5e26bf08029e7a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: sn95031: Staticize sn95031_pcm_hw_params Signed-off-by: Axel Lin Acked-by: Vinod Koul Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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;