diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-16 12:39:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-16 14:01:45 +0200 |
commit | 4dbcc5ff2513f2192dc2a5dfdbb9ad3d7e891e85 (patch) | |
tree | 51af2c7f8fbc535363f3d5e126eafd725e0fd589 /sound/soc/codecs/cs47l24.c | |
parent | arizona: anc: Correct setting of FCx_MIC_MODE_SEL (diff) | |
download | linux-4dbcc5ff2513f2192dc2a5dfdbb9ad3d7e891e85.tar.xz linux-4dbcc5ff2513f2192dc2a5dfdbb9ad3d7e891e85.zip |
ASoC: codecs: make snd_compr_ops const
Make these const as they are only stored in the compr_ops field of a
snd_soc_platform_driver structure, 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/codecs/cs47l24.c')
-rw-r--r-- | sound/soc/codecs/cs47l24.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs47l24.c b/sound/soc/codecs/cs47l24.c index 47e6fddef92b..c1cbe23169d7 100644 --- a/sound/soc/codecs/cs47l24.c +++ b/sound/soc/codecs/cs47l24.c @@ -1203,7 +1203,7 @@ static struct snd_soc_codec_driver soc_codec_dev_cs47l24 = { }, }; -static struct snd_compr_ops cs47l24_compr_ops = { +static const struct snd_compr_ops cs47l24_compr_ops = { .open = cs47l24_open, .free = wm_adsp_compr_free, .set_params = wm_adsp_compr_set_params, |