summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-08-14 17:53:16 +0100
committerMark Brown <broonie@kernel.org>2017-08-14 17:53:16 +0100
commitce25f0d6e750a808118b699fe9f917c954710cc8 (patch)
tree7186103c84afef0e4670705dd61179dbb6d15613 /sound/soc/sh/rcar/core.c
parent0d7820d0918efa6c2a53acdfc47cbfc3b48df727 (diff)
parentb23bd34c402d08a2c1d6facdba4a75e016601c12 (diff)
downloadlinux-stable-ce25f0d6e750a808118b699fe9f917c954710cc8.tar.gz
linux-stable-ce25f0d6e750a808118b699fe9f917c954710cc8.tar.bz2
linux-stable-ce25f0d6e750a808118b699fe9f917c954710cc8.zip
Merge branch 'topic/sh' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-rcar
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r--sound/soc/sh/rcar/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 650cc28b0fb6..df39831b8e8f 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -1140,7 +1140,7 @@ static snd_pcm_uframes_t rsnd_pointer(struct snd_pcm_substream *substream)
return pointer;
}
-static struct snd_pcm_ops rsnd_pcm_ops = {
+static const struct snd_pcm_ops rsnd_pcm_ops = {
.ioctl = snd_pcm_lib_ioctl,
.hw_params = rsnd_hw_params,
.hw_free = snd_pcm_lib_free_pages,
@@ -1318,7 +1318,7 @@ static int rsnd_pcm_new(struct snd_soc_pcm_runtime *rtd)
PREALLOC_BUFFER, PREALLOC_BUFFER_MAX);
}
-static struct snd_soc_platform_driver rsnd_soc_platform = {
+static const struct snd_soc_platform_driver rsnd_soc_platform = {
.ops = &rsnd_pcm_ops,
.pcm_new = rsnd_pcm_new,
};