23 Jul
2017
23 Jul
'17
7:23 p.m.
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.
Arvind Yadav (4): [PATCH 1/4] ASoC: rt5514: constify acpi_device_id. [PATCH 2/4] ASoC: rt5663: constify acpi_device_id. [PATCH 3/4] ASoC: rt5659: constify acpi_device_id. [PATCH 4/4] ASoC: rt5665: constify acpi_device_id.
sound/soc/codecs/rt5514.c | 2 +- sound/soc/codecs/rt5659.c | 2 +- sound/soc/codecs/rt5663.c | 2 +- sound/soc/codecs/rt5665.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
--
2.7.4