diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-02-24 22:19:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 14:06:34 +0100 |
commit | 3084e5f7f75339451d8bb39dede700c37e588b8c (patch) | |
tree | f9fae64c97fdd3850f884e6803e9b2c393017b92 /sound/soc/codecs/rt1011.c | |
parent | ASoC: rt*: Constify static struct snd_soc_dai_ops (diff) | |
download | linux-3084e5f7f75339451d8bb39dede700c37e588b8c.tar.xz linux-3084e5f7f75339451d8bb39dede700c37e588b8c.zip |
ASoC: rt*: Constify static struct acpi_device_id
These are never modified, so make them const to allow the compiler to
put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210224211918.39109-4-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1011.c')
-rw-r--r-- | sound/soc/codecs/rt1011.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1011.c b/sound/soc/codecs/rt1011.c index 098ecf13814d..6877be5f36b9 100644 --- a/sound/soc/codecs/rt1011.c +++ b/sound/soc/codecs/rt1011.c @@ -2151,7 +2151,7 @@ MODULE_DEVICE_TABLE(of, rt1011_of_match); #endif #ifdef CONFIG_ACPI -static struct acpi_device_id rt1011_acpi_match[] = { +static const struct acpi_device_id rt1011_acpi_match[] = { {"10EC1011", 0,}, {}, }; |