OSDN Git Service

ASoC: sn95031: Staticize sn95031_pcm_hw_params
authorAxel Lin <axel.lin@gmail.com>
Mon, 19 Sep 2011 08:34:28 +0000 (16:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 17:31:00 +0000 (18:31 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sn95031.c

index b4f1cb4..29945b0 100644 (file)
@@ -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;