mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 03:30:53 +07:00
ASoC: qcom: make snd_soc_platform_driver const
Make this const as it is only passed as the 2nd argument to the function devm_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>
This commit is contained in:
parent
3a88a3757d
commit
50d50c33d2
@ -557,7 +557,7 @@ static void lpass_platform_pcm_free(struct snd_pcm *pcm)
|
||||
}
|
||||
}
|
||||
|
||||
static struct snd_soc_platform_driver lpass_platform_driver = {
|
||||
static const struct snd_soc_platform_driver lpass_platform_driver = {
|
||||
.pcm_new = lpass_platform_pcm_new,
|
||||
.pcm_free = lpass_platform_pcm_free,
|
||||
.ops = &lpass_platform_pcm_ops,
|
||||
|
Loading…
Reference in New Issue
Block a user