Skip to content

Commit f1da8a1

Browse files
committed
sound/soc/codecs/rk817_codec: fix compile warning
sound/soc/codecs/rk817_codec.c:405:14: warning: duplicate const declaration specifier [-Wduplicate-decl-specifier] Change-Id: I572b1778f29a48b0756ac60488ce2311cc372f8b Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 75df0e0 commit f1da8a1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sound/soc/codecs/rk817_codec.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,16 +402,16 @@ static const char * const rk817_call_path_mode[] = {
402402

403403
static const char * const rk817_modem_input_mode[] = {"OFF", "ON"};
404404

405-
static const SOC_ENUM_SINGLE_DECL(rk817_playback_path_type,
405+
static SOC_ENUM_SINGLE_DECL(rk817_playback_path_type,
406406
0, 0, rk817_playback_path_mode);
407407

408-
static const SOC_ENUM_SINGLE_DECL(rk817_capture_path_type,
408+
static SOC_ENUM_SINGLE_DECL(rk817_capture_path_type,
409409
0, 0, rk817_capture_path_mode);
410410

411-
static const SOC_ENUM_SINGLE_DECL(rk817_call_path_type,
411+
static SOC_ENUM_SINGLE_DECL(rk817_call_path_type,
412412
0, 0, rk817_call_path_mode);
413413

414-
static const SOC_ENUM_SINGLE_DECL(rk817_modem_input_type,
414+
static SOC_ENUM_SINGLE_DECL(rk817_modem_input_type,
415415
0, 0, rk817_modem_input_mode);
416416

417417
static int rk817_playback_path_get(struct snd_kcontrol *kcontrol,

0 commit comments

Comments
 (0)