diff options
author | Mark Brown <broonie@kernel.org> | 2017-08-14 12:53:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 12:53:16 -0400 |
commit | ce25f0d6e750a808118b699fe9f917c954710cc8 (patch) | |
tree | 7186103c84afef0e4670705dd61179dbb6d15613 | |
parent | 0d7820d0918efa6c2a53acdfc47cbfc3b48df727 (diff) | |
parent | b23bd34c402d08a2c1d6facdba4a75e016601c12 (diff) |
Merge branch 'topic/sh' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-rcar
-rw-r--r-- | sound/soc/sh/dma-sh7760.c | 4 | ||||
-rw-r--r-- | sound/soc/sh/fsi.c | 4 | ||||
-rw-r--r-- | sound/soc/sh/rcar/core.c | 4 | ||||
-rw-r--r-- | sound/soc/sh/siu_pcm.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c index 8fad4441c87d..35788a6db963 100644 --- a/sound/soc/sh/dma-sh7760.c +++ b/sound/soc/sh/dma-sh7760.c | |||
@@ -294,7 +294,7 @@ static snd_pcm_uframes_t camelot_pos(struct snd_pcm_substream *substream) | |||
294 | return bytes_to_frames(runtime, pos); | 294 | return bytes_to_frames(runtime, pos); |
295 | } | 295 | } |
296 | 296 | ||
297 | static struct snd_pcm_ops camelot_pcm_ops = { | 297 | static const struct snd_pcm_ops camelot_pcm_ops = { |
298 | .open = camelot_pcm_open, | 298 | .open = camelot_pcm_open, |
299 | .close = camelot_pcm_close, | 299 | .close = camelot_pcm_close, |
300 | .ioctl = snd_pcm_lib_ioctl, | 300 | .ioctl = snd_pcm_lib_ioctl, |
@@ -320,7 +320,7 @@ static int camelot_pcm_new(struct snd_soc_pcm_runtime *rtd) | |||
320 | return 0; | 320 | return 0; |
321 | } | 321 | } |
322 | 322 | ||
323 | static struct snd_soc_platform_driver sh7760_soc_platform = { | 323 | static const struct snd_soc_platform_driver sh7760_soc_platform = { |
324 | .ops = &camelot_pcm_ops, | 324 | .ops = &camelot_pcm_ops, |
325 | .pcm_new = camelot_pcm_new, | 325 | .pcm_new = camelot_pcm_new, |
326 | }; | 326 | }; |
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 7c4bdd82bb95..5d7d9fe8bc98 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1755,7 +1755,7 @@ static snd_pcm_uframes_t fsi_pointer(struct snd_pcm_substream *substream) | |||
1755 | return fsi_sample2frame(fsi, io->buff_sample_pos); | 1755 | return fsi_sample2frame(fsi, io->buff_sample_pos); |
1756 | } | 1756 | } |
1757 | 1757 | ||
1758 | static struct snd_pcm_ops fsi_pcm_ops = { | 1758 | static const struct snd_pcm_ops fsi_pcm_ops = { |
1759 | .open = fsi_pcm_open, | 1759 | .open = fsi_pcm_open, |
1760 | .ioctl = snd_pcm_lib_ioctl, | 1760 | .ioctl = snd_pcm_lib_ioctl, |
1761 | .hw_params = fsi_hw_params, | 1761 | .hw_params = fsi_hw_params, |
@@ -1818,7 +1818,7 @@ static struct snd_soc_dai_driver fsi_soc_dai[] = { | |||
1818 | }, | 1818 | }, |
1819 | }; | 1819 | }; |
1820 | 1820 | ||
1821 | static struct snd_soc_platform_driver fsi_soc_platform = { | 1821 | static const struct snd_soc_platform_driver fsi_soc_platform = { |
1822 | .ops = &fsi_pcm_ops, | 1822 | .ops = &fsi_pcm_ops, |
1823 | .pcm_new = fsi_pcm_new, | 1823 | .pcm_new = fsi_pcm_new, |
1824 | }; | 1824 | }; |
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) | |||
1140 | return pointer; | 1140 | return pointer; |
1141 | } | 1141 | } |
1142 | 1142 | ||
1143 | static struct snd_pcm_ops rsnd_pcm_ops = { | 1143 | static const struct snd_pcm_ops rsnd_pcm_ops = { |
1144 | .ioctl = snd_pcm_lib_ioctl, | 1144 | .ioctl = snd_pcm_lib_ioctl, |
1145 | .hw_params = rsnd_hw_params, | 1145 | .hw_params = rsnd_hw_params, |
1146 | .hw_free = snd_pcm_lib_free_pages, | 1146 | .hw_free = snd_pcm_lib_free_pages, |
@@ -1318,7 +1318,7 @@ static int rsnd_pcm_new(struct snd_soc_pcm_runtime *rtd) | |||
1318 | PREALLOC_BUFFER, PREALLOC_BUFFER_MAX); | 1318 | PREALLOC_BUFFER, PREALLOC_BUFFER_MAX); |
1319 | } | 1319 | } |
1320 | 1320 | ||
1321 | static struct snd_soc_platform_driver rsnd_soc_platform = { | 1321 | static const struct snd_soc_platform_driver rsnd_soc_platform = { |
1322 | .ops = &rsnd_pcm_ops, | 1322 | .ops = &rsnd_pcm_ops, |
1323 | .pcm_new = rsnd_pcm_new, | 1323 | .pcm_new = rsnd_pcm_new, |
1324 | }; | 1324 | }; |
diff --git a/sound/soc/sh/siu_pcm.c b/sound/soc/sh/siu_pcm.c index 82902f56e82f..3118cb0ee3f2 100644 --- a/sound/soc/sh/siu_pcm.c +++ b/sound/soc/sh/siu_pcm.c | |||
@@ -593,7 +593,7 @@ static void siu_pcm_free(struct snd_pcm *pcm) | |||
593 | dev_dbg(pcm->card->dev, "%s\n", __func__); | 593 | dev_dbg(pcm->card->dev, "%s\n", __func__); |
594 | } | 594 | } |
595 | 595 | ||
596 | static struct snd_pcm_ops siu_pcm_ops = { | 596 | static const struct snd_pcm_ops siu_pcm_ops = { |
597 | .open = siu_pcm_open, | 597 | .open = siu_pcm_open, |
598 | .close = siu_pcm_close, | 598 | .close = siu_pcm_close, |
599 | .ioctl = snd_pcm_lib_ioctl, | 599 | .ioctl = snd_pcm_lib_ioctl, |