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>
このコミットが含まれているのは:
@@ -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,
|
||||
|
新しいイシューから参照
ユーザーをブロックする