Skip to content

Commit

Permalink
ASoC: ad193x: Make enum items const char * const
Browse files Browse the repository at this point in the history
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Nov 28, 2011
1 parent 591c034 commit c4e7a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/ad193x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c4e7a4a

Please sign in to comment.