aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-09-29 15:44:00 -0400
committerMark Brown <broonie@kernel.org>2016-09-29 15:44:00 -0400
commit609555213a36359dcadf7f84412d0489961ab085 (patch)
treeed7761e69b7d708e8b8602fe98312d89e5f1f59b
parent4a2447b483e17c580ed1d7c9cde3267d9c3a380f (diff)
parent115c7254882ceb965deb05510128464fef06fbfb (diff)
Merge remote-tracking branch 'asoc/topic/pcm' into asoc-next
-rw-r--r--sound/soc/amd/acp-pcm-dma.c2
-rw-r--r--sound/soc/atmel/atmel-pcm-pdc.c2
-rw-r--r--sound/soc/codecs/rt5514-spi.c2
-rw-r--r--sound/soc/fsl/fsl_asrc_dma.c2
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform-pcm.c2
-rw-r--r--sound/soc/intel/haswell/sst-haswell-pcm.c2
-rw-r--r--sound/soc/intel/skylake/skl-pcm.c2
-rw-r--r--sound/soc/kirkwood/kirkwood-dma.c2
-rw-r--r--sound/soc/qcom/lpass-platform.c2
-rw-r--r--sound/soc/soc-utils.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index d1fb035f44db..504c7cd7f58a 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -897,7 +897,7 @@ static int acp_dma_close(struct snd_pcm_substream *substream)
897 return 0; 897 return 0;
898} 898}
899 899
900static struct snd_pcm_ops acp_dma_ops = { 900static const struct snd_pcm_ops acp_dma_ops = {
901 .open = acp_dma_open, 901 .open = acp_dma_open,
902 .close = acp_dma_close, 902 .close = acp_dma_close,
903 .ioctl = snd_pcm_lib_ioctl, 903 .ioctl = snd_pcm_lib_ioctl,
diff --git a/sound/soc/atmel/atmel-pcm-pdc.c b/sound/soc/atmel/atmel-pcm-pdc.c
index da861b44413f..91b7069c3499 100644
--- a/sound/soc/atmel/atmel-pcm-pdc.c
+++ b/sound/soc/atmel/atmel-pcm-pdc.c
@@ -381,7 +381,7 @@ static int atmel_pcm_close(struct snd_pcm_substream *substream)
381 return 0; 381 return 0;
382} 382}
383 383
384static struct snd_pcm_ops atmel_pcm_ops = { 384static const struct snd_pcm_ops atmel_pcm_ops = {
385 .open = atmel_pcm_open, 385 .open = atmel_pcm_open,
386 .close = atmel_pcm_close, 386 .close = atmel_pcm_close,
387 .ioctl = snd_pcm_lib_ioctl, 387 .ioctl = snd_pcm_lib_ioctl,
diff --git a/sound/soc/codecs/rt5514-spi.c b/sound/soc/codecs/rt5514-spi.c
index 77ff8ebe6dfb..09103aab0cb2 100644
--- a/sound/soc/codecs/rt5514-spi.c
+++ b/sound/soc/codecs/rt5514-spi.c
@@ -236,7 +236,7 @@ static snd_pcm_uframes_t rt5514_spi_pcm_pointer(
236 return bytes_to_frames(runtime, rt5514_dsp->dma_offset); 236 return bytes_to_frames(runtime, rt5514_dsp->dma_offset);
237} 237}
238 238
239static struct snd_pcm_ops rt5514_spi_pcm_ops = { 239static const struct snd_pcm_ops rt5514_spi_pcm_ops = {
240 .open = rt5514_spi_pcm_open, 240 .open = rt5514_spi_pcm_open,
241 .hw_params = rt5514_spi_hw_params, 241 .hw_params = rt5514_spi_hw_params,
242 .hw_free = rt5514_spi_hw_free, 242 .hw_free = rt5514_spi_hw_free,
diff --git a/sound/soc/fsl/fsl_asrc_dma.c b/sound/soc/fsl/fsl_asrc_dma.c
index ffc000bc1f15..dc30d780f874 100644
--- a/sound/soc/fsl/fsl_asrc_dma.c
+++ b/sound/soc/fsl/fsl_asrc_dma.c
@@ -322,7 +322,7 @@ static snd_pcm_uframes_t fsl_asrc_dma_pcm_pointer(struct snd_pcm_substream *subs
322 return bytes_to_frames(substream->runtime, pair->pos); 322 return bytes_to_frames(substream->runtime, pair->pos);
323} 323}
324 324
325static struct snd_pcm_ops fsl_asrc_dma_pcm_ops = { 325static const struct snd_pcm_ops fsl_asrc_dma_pcm_ops = {
326 .ioctl = snd_pcm_lib_ioctl, 326 .ioctl = snd_pcm_lib_ioctl,
327 .hw_params = fsl_asrc_dma_hw_params, 327 .hw_params = fsl_asrc_dma_hw_params,
328 .hw_free = fsl_asrc_dma_hw_free, 328 .hw_free = fsl_asrc_dma_hw_free,
diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index 52ed434cbca6..25c6d87c818e 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -670,7 +670,7 @@ static snd_pcm_uframes_t sst_platform_pcm_pointer
670 return str_info->buffer_ptr; 670 return str_info->buffer_ptr;
671} 671}
672 672
673static struct snd_pcm_ops sst_platform_ops = { 673static const struct snd_pcm_ops sst_platform_ops = {
674 .open = sst_platform_open, 674 .open = sst_platform_open,
675 .ioctl = snd_pcm_lib_ioctl, 675 .ioctl = snd_pcm_lib_ioctl,
676 .trigger = sst_platform_pcm_trigger, 676 .trigger = sst_platform_pcm_trigger,
diff --git a/sound/soc/intel/haswell/sst-haswell-pcm.c b/sound/soc/intel/haswell/sst-haswell-pcm.c
index 3154525c2b83..9e4094e2c6e3 100644
--- a/sound/soc/intel/haswell/sst-haswell-pcm.c
+++ b/sound/soc/intel/haswell/sst-haswell-pcm.c
@@ -871,7 +871,7 @@ out:
871 return ret; 871 return ret;
872} 872}
873 873
874static struct snd_pcm_ops hsw_pcm_ops = { 874static const struct snd_pcm_ops hsw_pcm_ops = {
875 .open = hsw_pcm_open, 875 .open = hsw_pcm_open,
876 .close = hsw_pcm_close, 876 .close = hsw_pcm_close,
877 .ioctl = snd_pcm_lib_ioctl, 877 .ioctl = snd_pcm_lib_ioctl,
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
index c7cdcba04c5d..58c728662600 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -1094,7 +1094,7 @@ static int skl_get_time_info(struct snd_pcm_substream *substream,
1094 return 0; 1094 return 0;
1095} 1095}
1096 1096
1097static struct snd_pcm_ops skl_platform_ops = { 1097static const struct snd_pcm_ops skl_platform_ops = {
1098 .open = skl_platform_open, 1098 .open = skl_platform_open,
1099 .ioctl = snd_pcm_lib_ioctl, 1099 .ioctl = snd_pcm_lib_ioctl,
1100 .trigger = skl_platform_pcm_trigger, 1100 .trigger = skl_platform_pcm_trigger,
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index dbfdfe99c69d..dafd22e874e9 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -242,7 +242,7 @@ static snd_pcm_uframes_t kirkwood_dma_pointer(struct snd_pcm_substream
242 return count; 242 return count;
243} 243}
244 244
245static struct snd_pcm_ops kirkwood_dma_ops = { 245static const struct snd_pcm_ops kirkwood_dma_ops = {
246 .open = kirkwood_dma_open, 246 .open = kirkwood_dma_open,
247 .close = kirkwood_dma_close, 247 .close = kirkwood_dma_close,
248 .ioctl = snd_pcm_lib_ioctl, 248 .ioctl = snd_pcm_lib_ioctl,
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c
index db000c6987a1..ccc577042dd8 100644
--- a/sound/soc/qcom/lpass-platform.c
+++ b/sound/soc/qcom/lpass-platform.c
@@ -372,7 +372,7 @@ static int lpass_platform_pcmops_mmap(struct snd_pcm_substream *substream,
372 runtime->dma_bytes); 372 runtime->dma_bytes);
373} 373}
374 374
375static struct snd_pcm_ops lpass_platform_pcm_ops = { 375static const struct snd_pcm_ops lpass_platform_pcm_ops = {
376 .open = lpass_platform_pcmops_open, 376 .open = lpass_platform_pcmops_open,
377 .ioctl = snd_pcm_lib_ioctl, 377 .ioctl = snd_pcm_lib_ioctl,
378 .hw_params = lpass_platform_pcmops_hw_params, 378 .hw_params = lpass_platform_pcmops_hw_params,
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 53dd085d3ee2..393e8f0fe2cc 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -80,7 +80,7 @@ static int dummy_dma_open(struct snd_pcm_substream *substream)
80 return 0; 80 return 0;
81} 81}
82 82
83static struct snd_pcm_ops dummy_dma_ops = { 83static const struct snd_pcm_ops dummy_dma_ops = {
84 .open = dummy_dma_open, 84 .open = dummy_dma_open,
85 .ioctl = snd_pcm_lib_ioctl, 85 .ioctl = snd_pcm_lib_ioctl,
86}; 86};