diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-14 14:38:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 19:22:07 +0300 |
commit | 0ed6f15701efa0d62b4556900cd67a726578389e (patch) | |
tree | 445081a1485c8f9dddfc1516863c9afa39152158 /sound/soc/codecs/cs47l24.c | |
parent | a180ba45b1cf630b3bd5912ce235b2ee16606b8e (diff) | |
download | linux-0ed6f15701efa0d62b4556900cd67a726578389e.tar.xz |
ASoC: codecs: make snd_soc_platform_driver const
Make these const as they are either passed as the 2nd argument to the
function devm_snd_soc_register_platform or snd_soc_register_platform,
and the arguments are 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 d323caa9c816..505dbc9d73cf 100644 --- a/sound/soc/codecs/cs47l24.c +++ b/sound/soc/codecs/cs47l24.c @@ -1213,7 +1213,7 @@ static struct snd_compr_ops cs47l24_compr_ops = { .copy = wm_adsp_compr_copy, }; -static struct snd_soc_platform_driver cs47l24_compr_platform = { +static const struct snd_soc_platform_driver cs47l24_compr_platform = { .compr_ops = &cs47l24_compr_ops, }; |