summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2022-07-07 16:46:14 -0500
committerMark Brown <broonie@kernel.org>2022-07-08 11:51:47 +0100
commitf460e3a9740b8c1ec5a9a034262674514bbbdcac (patch)
tree66d9d6ebb2f24b07e39e4a0419396207c6ff96fc /sound/soc/amd
parent050237e6b0bea0fafbf7d3d57e717c6fa1e4e819 (diff)
downloadlinux-f460e3a9740b8c1ec5a9a034262674514bbbdcac.tar.gz
linux-f460e3a9740b8c1ec5a9a034262674514bbbdcac.tar.bz2
linux-f460e3a9740b8c1ec5a9a034262674514bbbdcac.zip
ASoC: amd: acp-es8336: use static variables
Sparse warnings: sound/soc/amd/acp-es8336.c:36:15: error: symbol 'codec_dev' was not declared. Should it be static? sound/soc/amd/acp-es8336.c:37:18: error: symbol 'gpio_pa' was not declared. Should it be static? Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220707214614.61081-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/acp-es8336.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/amd/acp-es8336.c b/sound/soc/amd/acp-es8336.c
index eec3d57092fa..4f3992532332 100644
--- a/sound/soc/amd/acp-es8336.c
+++ b/sound/soc/amd/acp-es8336.c
@@ -33,8 +33,8 @@
static unsigned long acp2x_machine_id;
static struct snd_soc_jack st_jack;
-struct device *codec_dev;
-struct gpio_desc *gpio_pa;
+static struct device *codec_dev;
+static struct gpio_desc *gpio_pa;
static int sof_es8316_speaker_power_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)