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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mark Brown

vecāks
67e8ee9b4b
revīzija
80cc4df8b4
@@ -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,
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user