diff options
author | Tom Rix <trix@redhat.com> | 2023-04-06 17:23:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-06 17:29:39 +0200 |
commit | 80a4623eb1910d099e3d3de1564a6dfe16750e60 (patch) | |
tree | 0b43db22fd185d6360fa4db027f8e78a186a155f /sound/soc/codecs | |
parent | ASoC: qcom: fixes for Click/Pop Noise (diff) | |
download | linux-80a4623eb1910d099e3d3de1564a6dfe16750e60.tar.xz linux-80a4623eb1910d099e3d3de1564a6dfe16750e60.zip |
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: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230406152300.1954292-1-trix@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/max98363.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98363.c b/sound/soc/codecs/max98363.c index 4585ebb1e82c..dcce06bff756 100644 --- a/sound/soc/codecs/max98363.c +++ b/sound/soc/codecs/max98363.c @@ -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, |