diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-10-30 01:14:09 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-29 18:55:22 +0100 |
commit | 9a5d96add514079660b3f1270a55f8c2dbdbc1b6 (patch) | |
tree | 17f00769c5543ea8ecef35b2ab45e8cee18f5cad /sound/soc/intel/common/soc-acpi-intel-cml-match.c | |
parent | 959ae8215a9e8955f45b41e274a1294d7c9aba1b (diff) | |
download | linux-stable-9a5d96add514079660b3f1270a55f8c2dbdbc1b6.tar.gz linux-stable-9a5d96add514079660b3f1270a55f8c2dbdbc1b6.tar.bz2 linux-stable-9a5d96add514079660b3f1270a55f8c2dbdbc1b6.zip |
ASoC: Intel: soc-acpi: use const for all uses of snd_soc_acpi_codecs
'const' qualifiers are missing on some platforms, add as needed.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20211029171409.611600-7-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-cml-match.c')
-rw-r--r-- | sound/soc/intel/common/soc-acpi-intel-cml-match.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/intel/common/soc-acpi-intel-cml-match.c b/sound/soc/intel/common/soc-acpi-intel-cml-match.c index b591c6fd13fd..b4eb0c97edf1 100644 --- a/sound/soc/intel/common/soc-acpi-intel-cml-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-cml-match.c @@ -9,22 +9,22 @@ #include <sound/soc-acpi.h> #include <sound/soc-acpi-intel-match.h> -static struct snd_soc_acpi_codecs rt1011_spk_codecs = { +static const struct snd_soc_acpi_codecs rt1011_spk_codecs = { .num_codecs = 1, .codecs = {"10EC1011"} }; -static struct snd_soc_acpi_codecs rt1015_spk_codecs = { +static const struct snd_soc_acpi_codecs rt1015_spk_codecs = { .num_codecs = 1, .codecs = {"10EC1015"} }; -static struct snd_soc_acpi_codecs max98357a_spk_codecs = { +static const struct snd_soc_acpi_codecs max98357a_spk_codecs = { .num_codecs = 1, .codecs = {"MX98357A"} }; -static struct snd_soc_acpi_codecs max98390_spk_codecs = { +static const struct snd_soc_acpi_codecs max98390_spk_codecs = { .num_codecs = 1, .codecs = {"MX98390"} }; |