summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic31xx.c
diff options
context:
space:
mode:
authorkbuild test robot2019-04-02 13:46:18 +0200
committerMark Brown2019-04-03 06:03:52 +0200
commit7742a5b418c91b1f27a08ebf90cb662cf4c06604 (patch)
treeb9ed9a8aa60d3d7229b3fc71409277372eccbc2a /sound/soc/codecs/tlv320aic31xx.c
parentMerge branch 'acpi-utils' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff)
downloadkernel-qcow2-linux-7742a5b418c91b1f27a08ebf90cb662cf4c06604.tar.gz
kernel-qcow2-linux-7742a5b418c91b1f27a08ebf90cb662cf4c06604.tar.xz
kernel-qcow2-linux-7742a5b418c91b1f27a08ebf90cb662cf4c06604.zip
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);