ASoC: tlv320aic31xx: aic31xx_set_jack() can be static
authorkbuild test robot <lkp@intel.com>
Tue, 2 Apr 2019 11:46:18 +0000 (19:46 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:03:52 +0000 (11:03 +0700)
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>
sound/soc/codecs/tlv320aic31xx.c

index fa47bfcb93e930093ab01891b1cf7d3504057139..9b37e98da0db1dac1bb017bab9c88921dea5e40c 100644 (file)
@@ -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);