[alsa-devel] [PATCH 0/4] constify codecs acpi_device_id.

Arvind Yadav arvind.yadav.cs at gmail.com
Sun Jul 23 19:23:23 CEST 2017


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



More information about the Alsa-devel mailing list