]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: spear: constify snd_soc_dai_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 15 Aug 2017 15:10:12 +0000 (17:10 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 15 Aug 2017 17:11:42 +0000 (18:11 +0100)
commiteb2fc802a9af796a6f26f5b9d188f8c2f88da085
tree1e83d830b9f3ed4b923489b45b9aef6b683f5bcb
parentdf3f002860e5b10306be597d9ee2733146d6b7ec
ASoC: spear: constify snd_soc_dai_ops structures

These snd_soc_dai_ops structures are only stored in the ops field of
a snd_soc_dai_driver structure, which is const.  Thus, the
snd_soc_dai_ops structures can be const too.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/spear/spdif_in.c