diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-23 20:23:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-24 18:33:55 +0300 |
commit | 8a43c2240c862bbf3fc612d0533b891bd75ec771 (patch) | |
tree | c2d0c471839ceec0ee3ca1ed90d31e4f549f1559 /sound/soc/codecs/rt5514.c | |
parent | 1628ef89042fdb90aaea657942455e00e160174d (diff) | |
download | linux-8a43c2240c862bbf3fc612d0533b891bd75ec771.tar.xz |
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.c | 2 |
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}, {}, }; |