mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ASoC: rockchip: constify snd_soc_ops structures
Add const to dp/dmic snd_soc_ops. Fixes:626d84db64
(ASoC: rockchip: Add support for DMIC codec) Fixes:3313faf105
(ASoC: rockchip: Add support for DP codec) Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
aa71fba41b
commit
1fe165b7e9
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user