ASoC: ad193x: Make enum items const char * const
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 16:28:08 +0000 (17:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 18:57:46 +0000 (18:57 +0000)
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad193x.c

index 7da7e29753b6fe02e9dead6a2ee726e30736a276..665af5cb257d5eed15a8466346b0019c1d0c5a87 100644 (file)
@@ -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);