diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-14 17:08:50 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 17:21:41 +0100 |
commit | c9f3d3441311792a0beb410af74e1aad4c3f715d (patch) | |
tree | 1117a1ebfe2be593b6bc64f0fe6f9e6a7f7d376c /sound | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | blackbird-op-linux-c9f3d3441311792a0beb410af74e1aad4c3f715d.tar.gz blackbird-op-linux-c9f3d3441311792a0beb410af74e1aad4c3f715d.zip |
ASoC: soc-utils: make snd_soc_platform_driver const
Make this const as it is only passed as the 2nd argument to the function
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')
-rw-r--r-- | sound/soc/soc-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 644d9a9ebfbc..e30aacbcfc29 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -284,7 +284,7 @@ static const struct snd_pcm_ops dummy_dma_ops = { .ioctl = snd_pcm_lib_ioctl, }; -static struct snd_soc_platform_driver dummy_platform = { +static const struct snd_soc_platform_driver dummy_platform = { .ops = &dummy_dma_ops, }; |