summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-13 13:52:18 +0400
committerMark Brown <broonie@linaro.org>2013-09-17 03:40:55 +0400
commit89d051300b845e1001a9d9e9ce94da4250c21613 (patch)
treeebfb9d6917d6c03619e538917c17fdd15746978d /sound/soc/codecs/rt5640.c
parent272b98c6455f00884f0350f775c5342358ebb73f (diff)
downloadlinux-89d051300b845e1001a9d9e9ce94da4250c21613.tar.xz
ASoC: rt5640: Staticize hp_amp_power_on
'hp_amp_power_on' is used only in this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/rt5640.c')
-rw-r--r--sound/soc/codecs/rt5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index c26a8f814b18..2f6bb161e64c 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -926,7 +926,7 @@ static int rt5640_set_dmic2_event(struct snd_soc_dapm_widget *w,
return 0;
}
-void hp_amp_power_on(struct snd_soc_codec *codec)
+static void hp_amp_power_on(struct snd_soc_codec *codec)
{
struct rt5640_priv *rt5640 = snd_soc_codec_get_drvdata(codec);