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>
Este commit está contenido en:
@@ -705,7 +705,7 @@ static int sst_soc_probe(struct snd_soc_platform *platform)
|
||||
return sst_dsp_init_v2_dpcm(platform);
|
||||
}
|
||||
|
||||
static struct snd_soc_platform_driver sst_soc_platform_drv = {
|
||||
static const struct snd_soc_platform_driver sst_soc_platform_drv = {
|
||||
.probe = sst_soc_probe,
|
||||
.ops = &sst_platform_ops,
|
||||
.compr_ops = &sst_platform_compr_ops,
|
||||
|
Referencia en una nueva incidencia
Block a user