summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5514.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-23 22:53:24 +0530
committerMark Brown <broonie@kernel.org>2017-07-24 16:33:55 +0100
commit8a43c2240c862bbf3fc612d0533b891bd75ec771 (patch)
treec2d0c471839ceec0ee3ca1ed90d31e4f549f1559 /sound/soc/codecs/rt5514.c
parent1628ef89042fdb90aaea657942455e00e160174d (diff)
downloadlinux-8a43c2240c862bbf3fc612d0533b891bd75ec771.tar.bz2
ASoC: rt5514: 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>
Diffstat (limited to 'sound/soc/codecs/rt5514.c')
-rw-r--r--sound/soc/codecs/rt5514.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c
index 882fdc4a6fd4..3d0aea8f3801 100644
--- a/sound/soc/codecs/rt5514.c
+++ b/sound/soc/codecs/rt5514.c
@@ -1134,7 +1134,7 @@ MODULE_DEVICE_TABLE(of, rt5514_of_match);
#endif
#ifdef CONFIG_ACPI
-static struct acpi_device_id rt5514_acpi_match[] = {
+static const struct acpi_device_id rt5514_acpi_match[] = {
{ "10EC5514", 0},
{},
};