summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tlv320aic31xx.c
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-04-02 19:46:18 +0800
committerMark Brown <broonie@kernel.org>2019-04-03 11:03:52 +0700
commit7742a5b418c91b1f27a08ebf90cb662cf4c06604 (patch)
treeb9ed9a8aa60d3d7229b3fc71409277372eccbc2a /sound/soc/codecs/tlv320aic31xx.c
parent6d5e2bf9d203e4d9e08ca2e9420c6ff22ad190af (diff)
ASoC: tlv320aic31xx: aic31xx_set_jack() can be static
Fixes: ebf3326cd969 ("ASoC: tlv320aic31xx: Add headphone/headset detection") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic31xx.c')
-rw-r--r--sound/soc/codecs/tlv320aic31xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index fa47bfcb93e9..9b37e98da0db 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -1264,8 +1264,8 @@ static int aic31xx_set_bias_level(struct snd_soc_component *component,
return 0;
}
-int aic31xx_set_jack(struct snd_soc_component *component,
- struct snd_soc_jack *jack, void *data)
+static int aic31xx_set_jack(struct snd_soc_component *component,
+ struct snd_soc_jack *jack, void *data)
{
struct aic31xx_priv *aic31xx = snd_soc_component_get_drvdata(component);