]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qdsp6: q6asm-dai: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:28 +0000 (08:43 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jan 2020 21:38:48 +0000 (21:38 +0000)
commit1ee79f7d8d173319b2c66c38f0949e16d9c1cff1
tree648c9449d3293550820e8a51bcb9e5392a7f4c0f
parent9eaec9324d1a343230328bc1a40dd0a165a24627
ASoC: qdsp6: q6asm-dai: constify copied structure

The q6asm_dai_hardware_capture structure is only copied into another
structure, so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1577864614-5543-11-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm-dai.c