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/wm5110.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/wm5110.c')
-rw-r--r-- | sound/soc/codecs/wm5110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index 1bc942152eff..d6fae1397ce2 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c @@ -2382,7 +2382,7 @@ static struct snd_compr_ops wm5110_compr_ops = { .copy = wm_adsp_compr_copy, }; -static struct snd_soc_platform_driver wm5110_compr_platform = { +static const struct snd_soc_platform_driver wm5110_compr_platform = { .compr_ops = &wm5110_compr_ops, }; |