aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshu Agrawal <[email protected]>2018-05-08 10:17:52 +0530
committerMark Brown <[email protected]>2018-05-21 16:19:32 +0100
commit839a12c79963d042632df24b7c8d6498285d10b0 (patch)
treef9ba7ec4cac2b320c0100088f0211e5c87a22859
parent6e554074955b453e8c8d671ec523d273703f2a59 (diff)
ASoC: AMD: Add const to snd_soc_ops instances
Marking snd_soc_ops instances const Signed-off-by: Akshu Agrawal <[email protected]> Signed-off-by: Vijendar Mukunda <[email protected]> Reviewed-by: Daniel Kurtz <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/amd/acp-da7219-max98357a.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index fa5ad5b468a2..133139dbcb06 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream)
da7219_clk_disable();
}
-static struct snd_soc_ops cz_da7219_cap_ops = {
+static const struct snd_soc_ops cz_da7219_cap_ops = {
.startup = cz_da7219_startup,
.shutdown = cz_da7219_shutdown,
};
-static struct snd_soc_ops cz_max_play_ops = {
+static const struct snd_soc_ops cz_max_play_ops = {
.startup = cz_max_startup,
.shutdown = cz_max_shutdown,
};
-static struct snd_soc_ops cz_dmic_cap_ops = {
+static const struct snd_soc_ops cz_dmic_cap_ops = {
.startup = cz_dmic_startup,
.shutdown = cz_dmic_shutdown,
};