]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ux500: constify snd_soc_dai_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 18 Aug 2017 12:06:10 +0000 (17:36 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 18 Aug 2017 12:24:11 +0000 (13:24 +0100)
commit4e73ff4eb8bed8c9294107c41aa76a7e45e33409
treec96742b006c69b78296c455a3a512078486bd3da
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
ASoC: ux500: constify snd_soc_dai_ops structures

snd_soc_dai_ops are not supposed to change at runtime. All functions
working with snd_soc_dai_ops provided by <sound/soc-dai.h> work with
const snd_soc_dai_ops. 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/ux500/ux500_msp_dai.c