summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTao Huang <huangtao@rock-chips.com>2018-02-11 20:29:43 +0800
committerTao Huang <huangtao@rock-chips.com>2018-02-11 20:29:43 +0800
commitd1c247b6002120885cbd0d234931b93a6d04851c (patch)
tree055a4e30e436b1d146268fdefac03c9d52058ca2 /sound
parentf1da8a190e8f80a71b169ed5e5d7311fd53c9046 (diff)
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5651.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index 7de785087958..d50ee82bc904 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -348,8 +348,7 @@ static SOC_ENUM_SINGLE_DECL(rt5651_if2_adc_enum, RT5651_DIG_INF_DATA,
static const char * const rt5651_asrc_mode[] = {"Disable", "Enable"};
-static const SOC_ENUM_SINGLE_DECL(rt5651_asrc_enum, 0, 0,
- rt5651_asrc_mode);
+static SOC_ENUM_SINGLE_DECL(rt5651_asrc_enum, 0, 0, rt5651_asrc_mode);
static const struct snd_kcontrol_new rt5651_snd_controls[] = {
/* Headphone Output Volume */