]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5665: constify acpi_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 23 Jul 2017 17:23:27 +0000 (22:53 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jul 2017 15:34:53 +0000 (16:34 +0100)
commit47de3cc75a4c97f82b3e206dd37985eb4d0855dd
tree600508827193ced3667e38388054a772edc4db8e
parentd0f8c41932d376f3b10453d9bedcec45b5235b3c
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>
sound/soc/codecs/rt5665.c