summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5660.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2017-01-12 11:48:11 +0100
committerMark Brown <broonie@kernel.org>2017-01-12 17:23:28 +0000
commit4281fcc02ed9f902dfa52d3635ac7f04b1a7341f (patch)
tree2772db563b5a675f61ca28aba4c9377f26b3967a /sound/soc/codecs/rt5660.c
parenta5de5b74a50113564a1e0850e2da96c37c35e55d (diff)
downloadlinux-4281fcc02ed9f902dfa52d3635ac7f04b1a7341f.tar.bz2
ASoC: rt5660: remove double const
Drop the const qualifier as it is being added by SOC_ENUM_DOUBLE_DECL() already which is called by SOC_ENUM_SINGLE_DECL() here. Fixes: commit 2b26dd4c1fc5 ("ASoC: rt5660: add rt5660 codec driver") Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5660.c')
-rw-r--r--sound/soc/codecs/rt5660.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5660.c b/sound/soc/codecs/rt5660.c
index 76cf76a2e9b6..296b7b0ca4f3 100644
--- a/sound/soc/codecs/rt5660.c
+++ b/sound/soc/codecs/rt5660.c
@@ -526,10 +526,10 @@ static const char * const rt5660_data_select[] = {
"L/R", "R/L", "L/L", "R/R"
};
-static const SOC_ENUM_SINGLE_DECL(rt5660_if1_dac_enum,
+static SOC_ENUM_SINGLE_DECL(rt5660_if1_dac_enum,
RT5660_DIG_INF1_DATA, RT5660_IF1_DAC_IN_SFT, rt5660_data_select);
-static const SOC_ENUM_SINGLE_DECL(rt5660_if1_adc_enum,
+static SOC_ENUM_SINGLE_DECL(rt5660_if1_adc_enum,
RT5660_DIG_INF1_DATA, RT5660_IF1_ADC_IN_SFT, rt5660_data_select);
static const struct snd_kcontrol_new rt5660_if1_dac_swap_mux =