aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/generic/audio-graph-card.c2
-rw-r--r--sound/soc/generic/audio-graph-scu-card.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c
index 105ec3a6e30d..d3497a3e14ca 100644
--- a/sound/soc/generic/audio-graph-card.c
+++ b/sound/soc/generic/audio-graph-card.c
@@ -95,7 +95,7 @@ static void asoc_graph_card_shutdown(struct snd_pcm_substream *substream)
95 asoc_simple_card_clk_disable(&dai_props->codec_dai); 95 asoc_simple_card_clk_disable(&dai_props->codec_dai);
96} 96}
97 97
98static struct snd_soc_ops asoc_graph_card_ops = { 98static const struct snd_soc_ops asoc_graph_card_ops = {
99 .startup = asoc_graph_card_startup, 99 .startup = asoc_graph_card_startup,
100 .shutdown = asoc_graph_card_shutdown, 100 .shutdown = asoc_graph_card_shutdown,
101}; 101};
diff --git a/sound/soc/generic/audio-graph-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c
index dcd2df37bc3b..3da9acd6844e 100644
--- a/sound/soc/generic/audio-graph-scu-card.c
+++ b/sound/soc/generic/audio-graph-scu-card.c
@@ -56,7 +56,7 @@ static void asoc_graph_card_shutdown(struct snd_pcm_substream *substream)
56 asoc_simple_card_clk_disable(dai_props); 56 asoc_simple_card_clk_disable(dai_props);
57} 57}
58 58
59static struct snd_soc_ops asoc_graph_card_ops = { 59static const struct snd_soc_ops asoc_graph_card_ops = {
60 .startup = asoc_graph_card_startup, 60 .startup = asoc_graph_card_startup,
61 .shutdown = asoc_graph_card_shutdown, 61 .shutdown = asoc_graph_card_shutdown,
62}; 62};