summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad193x.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-11-28 17:28:08 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-28 19:57:46 +0100
commitc4e7a4a2768aad0bb83988922a164b4a96393713 (patch)
treedd21a5f93bc193e93255dc347ed072a73e1fc723 /sound/soc/codecs/ad193x.c
parentASoC: ad193x: Provide dB ranges for the volume controls (diff)
downloadlinux-c4e7a4a2768aad0bb83988922a164b4a96393713.tar.xz
linux-c4e7a4a2768aad0bb83988922a164b4a96393713.zip
ASoC: ad193x: Make enum items const char * const
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ad193x.c')
-rw-r--r--sound/soc/codecs/ad193x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 7da7e29753b6..665af5cb257d 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/soc/codecs/ad193x.c
@@ -30,7 +30,7 @@ struct ad193x_priv {
/*
* AD193X volume/mute/de-emphasis etc. controls
*/
-static const char *ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};
+static const char * const ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};
static const struct soc_enum ad193x_deemp_enum =
SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4, ad193x_deemp);