diff options
author | kbuild test robot <lkp@intel.com> | 2018-05-15 22:53:38 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-17 13:33:24 +0900 |
commit | bdfe4d9ade5cca1a53205de9b30e761358d23ec7 (patch) | |
tree | 8ee4b76730dd99b684153c81392443ab46debddf /sound/soc | |
parent | 37a0491116994ba92ec94a98aa6bfbe8f8d7236f (diff) | |
download | talos-obmc-linux-bdfe4d9ade5cca1a53205de9b30e761358d23ec7.tar.gz talos-obmc-linux-bdfe4d9ade5cca1a53205de9b30e761358d23ec7.zip |
ASoC: rt5663: rt5663_set_jack_detect() can be static
Fixes: 9958e8afbcad ("ASoC: rt5663: Use the set_jack() instead of the export function")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5663.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c index eefa9187c895..9bd24ad42240 100644 --- a/sound/soc/codecs/rt5663.c +++ b/sound/soc/codecs/rt5663.c @@ -1856,7 +1856,7 @@ static irqreturn_t rt5663_irq(int irq, void *data) return IRQ_HANDLED; } -int rt5663_set_jack_detect(struct snd_soc_component *component, +static int rt5663_set_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *hs_jack, void *data) { struct rt5663_priv *rt5663 = snd_soc_component_get_drvdata(component); |