diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-23 13:23:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-24 11:34:53 -0400 |
commit | abfedab1163a6b01ab400a67f4eed0fea3ccbdd1 (patch) | |
tree | 600508827193ced3667e38388054a772edc4db8e | |
parent | b833786b69c14fe98846c38d36d8f6e5e92ccdd8 (diff) |
ASoC: rt5665: constify acpi_device_id.
acpi_device_id are not supposed to change at runtime. All functions
working with acpi_device_id provided by <acpi/acpi_bus.h> work with
const acpi_device_id. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/rt5665.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c index 54ace3b98ec3..d0a9490f97f1 100644 --- a/sound/soc/codecs/rt5665.c +++ b/sound/soc/codecs/rt5665.c | |||
@@ -4970,7 +4970,7 @@ MODULE_DEVICE_TABLE(of, rt5665_of_match); | |||
4970 | #endif | 4970 | #endif |
4971 | 4971 | ||
4972 | #ifdef CONFIG_ACPI | 4972 | #ifdef CONFIG_ACPI |
4973 | static struct acpi_device_id rt5665_acpi_match[] = { | 4973 | static const struct acpi_device_id rt5665_acpi_match[] = { |
4974 | {"10EC5665", 0,}, | 4974 | {"10EC5665", 0,}, |
4975 | {"10EC5666", 0,}, | 4975 | {"10EC5666", 0,}, |
4976 | {"10EC5668", 0,}, | 4976 | {"10EC5668", 0,}, |