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>
Esse commit está contido em:
Bhumika Goyal
2017-08-14 17:08:41 +05:30
commit de Mark Brown
commit 80cc4df8b4
4 arquivos alterados com 4 adições e 4 exclusões

Ver arquivo

@@ -1310,7 +1310,7 @@ static int skl_platform_soc_probe(struct snd_soc_platform *platform)
return 0;
}
static struct snd_soc_platform_driver skl_platform_drv = {
static const struct snd_soc_platform_driver skl_platform_drv = {
.probe = skl_platform_soc_probe,
.ops = &skl_platform_ops,
.pcm_new = skl_pcm_new,