Commit 839a12c7 authored by Akshu Agrawal's avatar Akshu Agrawal Committed by Mark Brown

ASoC: AMD: Add const to snd_soc_ops instances

Marking snd_soc_ops instances const
Signed-off-by: default avatarAkshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6e554074
...@@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream) ...@@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream)
da7219_clk_disable(); 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, .startup = cz_da7219_startup,
.shutdown = cz_da7219_shutdown, .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, .startup = cz_max_startup,
.shutdown = cz_max_shutdown, .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, .startup = cz_dmic_startup,
.shutdown = cz_dmic_shutdown, .shutdown = cz_dmic_shutdown,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment