Skip to content

Commit eb73f10

Browse files
ZhengShunQianrkhuangtao
authored andcommitted
ASoC: rk312x: fix duplicate const
SOC_ENUM_SINGLE_DECL already defined with const, removing the duplicate const in rk312x_codec.c Change-Id: I085b1faf99a9ccd3b06e4e642abc1bc43cc8bac7 Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
1 parent fda925c commit eb73f10

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

sound/soc/codecs/rk312x_codec.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -616,12 +616,12 @@ static const char *const rk312x_voice_call_path_mode[] = {
616616
"OFF", "RCV", "SPK", "HP", "HP_NO_MIC", "BT"};
617617

618618

619-
static const SOC_ENUM_SINGLE_DECL(rk312x_playback_path_type, 0, 0,
620-
rk312x_playback_path_mode);
621-
static const SOC_ENUM_SINGLE_DECL(rk312x_capture_path_type, 0, 0,
622-
rk312x_capture_path_mode);
623-
static const SOC_ENUM_SINGLE_DECL(rk312x_voice_call_path_type, 0, 0,
624-
rk312x_voice_call_path_mode);
619+
static SOC_ENUM_SINGLE_DECL(rk312x_playback_path_type, 0, 0,
620+
rk312x_playback_path_mode);
621+
static SOC_ENUM_SINGLE_DECL(rk312x_capture_path_type, 0, 0,
622+
rk312x_capture_path_mode);
623+
static SOC_ENUM_SINGLE_DECL(rk312x_voice_call_path_type, 0, 0,
624+
rk312x_voice_call_path_mode);
625625

626626

627627
/* static int rk312x_codec_power_up(int type); */

0 commit comments

Comments
 (0)