diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-02-25 00:19:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 16:06:34 +0300 |
commit | 3084e5f7f75339451d8bb39dede700c37e588b8c (patch) | |
tree | f9fae64c97fdd3850f884e6803e9b2c393017b92 /sound/soc/codecs/rt1305.c | |
parent | f9e56a34cda2189a1d1611bdff1f6d1d0fb460e5 (diff) | |
download | linux-3084e5f7f75339451d8bb39dede700c37e588b8c.tar.xz |
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/rt1305.c')
-rw-r--r-- | sound/soc/codecs/rt1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c index 4e9dfd235e59..16aa405fb8f0 100644 --- a/sound/soc/codecs/rt1305.c +++ b/sound/soc/codecs/rt1305.c @@ -975,7 +975,7 @@ MODULE_DEVICE_TABLE(of, rt1305_of_match); #endif #ifdef CONFIG_ACPI -static struct acpi_device_id rt1305_acpi_match[] = { +static const struct acpi_device_id rt1305_acpi_match[] = { {"10EC1305", 0,}, {"10EC1306", 0,}, {}, |