Commit 80a4623e authored by Tom Rix's avatar Tom Rix Committed by Mark Brown

ASoC: max98363: Make soc_codec_dev_max98363 static

smatch reports
sound/soc/codecs/max98363.c:392:39: warning: symbol
  'soc_codec_dev_max98363' was not declared. Should it be static?

This variable is only used in one file so should be static.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230406152300.1954292-1-trix@redhat.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8a0cfac6
......@@ -389,7 +389,7 @@ static const struct snd_soc_dapm_route max98363_audio_map[] = {
{"BE_OUT", NULL, "AIFIN"},
};
const struct snd_soc_component_driver soc_codec_dev_max98363 = {
static const struct snd_soc_component_driver soc_codec_dev_max98363 = {
.controls = max98363_snd_controls,
.num_controls = ARRAY_SIZE(max98363_snd_controls),
.dapm_widgets = max98363_dapm_widgets,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment