summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sn95031.c
diff options
context:
space:
mode:
authorAxel Lin2011-09-19 10:34:28 +0200
committerMark Brown2011-09-19 19:31:00 +0200
commit5d42940c25ac69c4f5240392cf5e26bf08029e7a (patch)
tree0fa1cb9945e3c8e9ae16c85b92daad44242948ba /sound/soc/codecs/sn95031.c
parentASoC: Add line loads to the list of supported detections for Speyside (diff)
downloadkernel-qcow2-linux-5d42940c25ac69c4f5240392cf5e26bf08029e7a.tar.gz
kernel-qcow2-linux-5d42940c25ac69c4f5240392cf5e26bf08029e7a.tar.xz
kernel-qcow2-linux-5d42940c25ac69c4f5240392cf5e26bf08029e7a.zip
ASoC: sn95031: Staticize sn95031_pcm_hw_params
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>
Diffstat (limited to 'sound/soc/codecs/sn95031.c')
-rw-r--r--sound/soc/codecs/sn95031.c2
1 files changed, 1 insertions, 1 deletions
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;