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 13:06:34 +0000 |
commit | 3084e5f7f75339451d8bb39dede700c37e588b8c (patch) | |
tree | f9fae64c97fdd3850f884e6803e9b2c393017b92 /sound/soc/codecs/rt1016.c | |
parent | f9e56a34cda2189a1d1611bdff1f6d1d0fb460e5 (diff) | |
download | lwn-3084e5f7f75339451d8bb39dede700c37e588b8c.tar.gz lwn-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/rt1016.c')
-rw-r--r-- | sound/soc/codecs/rt1016.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1016.c b/sound/soc/codecs/rt1016.c index 483375fc16ca..c14a809da52b 100644 --- a/sound/soc/codecs/rt1016.c +++ b/sound/soc/codecs/rt1016.c @@ -623,7 +623,7 @@ MODULE_DEVICE_TABLE(of, rt1016_of_match); #endif #ifdef CONFIG_ACPI -static struct acpi_device_id rt1016_acpi_match[] = { +static const struct acpi_device_id rt1016_acpi_match[] = { {"10EC1016", 0,}, {}, }; |