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>
This commit is contained in:
Lars-Peter Clausen 2011-11-28 17:28:08 +01:00 committed by Mark Brown
parent 591c034a32
commit c4e7a4a276
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ struct ad193x_priv {
/* /*
* AD193X volume/mute/de-emphasis etc. controls * 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 = static const struct soc_enum ad193x_deemp_enum =
SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4, ad193x_deemp); SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4, ad193x_deemp);