]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 b4f1cb494ffcbd51282d88ff1896fcf78b1d32d2..29945b00413531548409cf4f309f9290d2dab493 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;