]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: make snd_soc_platform_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 14 Aug 2017 11:38:41 +0000 (17:08 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:22:29 +0000 (17:22 +0100)
commit36fcd303442d889afb7b8da470d834b2fa58bbdc
tree7b2d5b67f45a59062fbd3033d4d4d4d2813b11dc
parent0349c216d6404514089d887303077be2c4e7ba10
ASoC: Intel: make snd_soc_platform_driver const

Make these const as they are only passed as the 2nd argument to the
function 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/intel/atom/sst-mfld-platform-pcm.c
sound/soc/intel/baytrail/sst-baytrail-pcm.c
sound/soc/intel/haswell/sst-haswell-pcm.c
sound/soc/intel/skylake/skl-pcm.c