Commit 1fe165b7 authored by Jeffy Chen's avatar Jeffy Chen Committed by Mark Brown

ASoC: rockchip: constify snd_soc_ops structures

Add const to dp/dmic snd_soc_ops.

Fixes: 626d84db (ASoC: rockchip: Add support for DMIC codec)
Fixes: 3313faf1 (ASoC: rockchip: Add support for DP codec)
Signed-off-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent aa71fba4
......@@ -301,11 +301,11 @@ static const struct snd_soc_ops rockchip_sound_da7219_ops = {
.hw_params = rockchip_sound_da7219_hw_params,
};
static struct snd_soc_ops rockchip_sound_cdndp_ops = {
static const struct snd_soc_ops rockchip_sound_cdndp_ops = {
.hw_params = rockchip_sound_cdndp_hw_params,
};
static struct snd_soc_ops rockchip_sound_dmic_ops = {
static const struct snd_soc_ops rockchip_sound_dmic_ops = {
.hw_params = rockchip_sound_dmic_hw_params,
};
......
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