From: Axel Lin Date: Mon, 19 Sep 2011 08:34:28 +0000 (+0800) Subject: ASoC: sn95031: Staticize sn95031_pcm_hw_params X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d42940c25ac69c4f5240392cf5e26bf08029e7a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 b4f1cb494ffc..29945b004135 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;