aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8985.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-09-27 06:16:30 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-28 17:10:17 -0400
commitd1454e6fbdf01056834018cfd12f9a066cfc0dd7 (patch)
treeb18097a3f1b595acffcc197580e23c6292701701 /sound/soc/codecs/wm8985.c
parentcf1ff5011614cad540fa872b46552d078b510c38 (diff)
ASoC: WM8985: Use the correct macro for the kcontrol defined
Since we are using custom get/put handlers use SOC_ENUM_SINGLE_EXT_DECL instead of the original SOC_ENUM_SINGLE_DECL macro. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8985.c')
-rw-r--r--sound/soc/codecs/wm8985.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index 6658c9440e04..6116b4203a23 100644
--- a/sound/soc/codecs/wm8985.c
+++ b/sound/soc/codecs/wm8985.c
@@ -185,8 +185,8 @@ static const SOC_ENUM_SINGLE_DECL(filter_mode, WM8985_ADC_CONTROL, 7,
185 185
186static const char *eq_bw_text[] = { "Narrow", "Wide" }; 186static const char *eq_bw_text[] = { "Narrow", "Wide" };
187static const char *eqmode_text[] = { "Capture", "Playback" }; 187static const char *eqmode_text[] = { "Capture", "Playback" };
188static const SOC_ENUM_SINGLE_DECL(eqmode, WM8985_EQ1_LOW_SHELF, 8, 188static const SOC_ENUM_SINGLE_EXT_DECL(eqmode, eqmode_text);
189 eqmode_text); 189
190static const char *eq1_cutoff_text[] = { 190static const char *eq1_cutoff_text[] = {
191 "80Hz", "105Hz", "135Hz", "175Hz" 191 "80Hz", "105Hz", "135Hz", "175Hz"
192}; 192};