Skip to content

Commit d1c247b

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sound/soc/codecs/rt5651.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,7 @@ static SOC_ENUM_SINGLE_DECL(rt5651_if2_adc_enum, RT5651_DIG_INF_DATA,
348348

349349
static const char * const rt5651_asrc_mode[] = {"Disable", "Enable"};
350350

351-
static const SOC_ENUM_SINGLE_DECL(rt5651_asrc_enum, 0, 0,
352-
rt5651_asrc_mode);
351+
static SOC_ENUM_SINGLE_DECL(rt5651_asrc_enum, 0, 0, rt5651_asrc_mode);
353352

354353
static const struct snd_kcontrol_new rt5651_snd_controls[] = {
355354
/* Headphone Output Volume */

0 commit comments

Comments
 (0)