mirror of https://gitee.com/openkylin/linux.git
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:
parent
591c034a32
commit
c4e7a4a276
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue