aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/cirrus/edb93xx.c2
-rw-r--r--sound/soc/cirrus/snappercl15.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/cirrus/edb93xx.c b/sound/soc/cirrus/edb93xx.c
index 85962657aabe..c53bd6f2c2d7 100644
--- a/sound/soc/cirrus/edb93xx.c
+++ b/sound/soc/cirrus/edb93xx.c
@@ -56,7 +56,7 @@ static int edb93xx_hw_params(struct snd_pcm_substream *substream,
56 SND_SOC_CLOCK_OUT); 56 SND_SOC_CLOCK_OUT);
57} 57}
58 58
59static struct snd_soc_ops edb93xx_ops = { 59static const struct snd_soc_ops edb93xx_ops = {
60 .hw_params = edb93xx_hw_params, 60 .hw_params = edb93xx_hw_params,
61}; 61};
62 62
diff --git a/sound/soc/cirrus/snappercl15.c b/sound/soc/cirrus/snappercl15.c
index 98089df08df6..2334ec19e7eb 100644
--- a/sound/soc/cirrus/snappercl15.c
+++ b/sound/soc/cirrus/snappercl15.c
@@ -45,7 +45,7 @@ static int snappercl15_hw_params(struct snd_pcm_substream *substream,
45 return 0; 45 return 0;
46} 46}
47 47
48static struct snd_soc_ops snappercl15_ops = { 48static const struct snd_soc_ops snappercl15_ops = {
49 .hw_params = snappercl15_hw_params, 49 .hw_params = snappercl15_hw_params,
50}; 50};
51 51