ASoC: AMD: Add const to snd_soc_ops instances

Marking snd_soc_ops instances const

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Akshu Agrawal 2018-05-08 10:17:52 +05:30 committed by Mark Brown
parent 6e55407495
commit 839a12c799
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 3 additions and 3 deletions

View File

@ -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,
}; };