Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
};