diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-14 13:38:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 18:20:22 +0200 |
commit | 50d50c33d29a868bd58e0f320c19b9e9e7084a2a (patch) | |
tree | 7db5e09dc4473c3f865d24badcdf2f305674e049 /sound/soc/qcom/lpass-platform.c | |
parent | ASoC: codecs: msm8916-wcd-digital: add CIC filter source selection path (diff) | |
download | linux-50d50c33d29a868bd58e0f320c19b9e9e7084a2a.tar.xz linux-50d50c33d29a868bd58e0f320c19b9e9e7084a2a.zip |
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>
Diffstat (limited to 'sound/soc/qcom/lpass-platform.c')
-rw-r--r-- | sound/soc/qcom/lpass-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index 7aabf08de3d4..fb3576af7911 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -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, |