OSDN Git Service

ASoC: pxa: make snd_soc_platform_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 14 Aug 2017 11:38:45 +0000 (17:08 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:19:50 +0000 (17:19 +0100)
commit3d882b0ec6a50c5adff8e94a69d284543460fbe6
tree274ae9717fa917c739f417208e49a54e936e6cb2
parentcb7534437956650ab0dcebf7a7b4795eb904d22a
ASoC: pxa: make snd_soc_platform_driver const

Make these const as they are only passed as the 2nd argument to the
function devm_snd_soc_register_platform, which is of type const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-pcm.c
sound/soc/pxa/pxa2xx-pcm.c