Merge remote-tracking branches 'asoc/topic/wm9712', 'asoc/topic/wm9713' and 'asoc...
[sfrench/cifs-2.6.git] / sound / soc / pxa / tosa.c
index daed981f02ddf1c8238f026dde34faee3ee74050..2e312c62e3c75dcb2b60896b42b2ad2ca5fa1b4a 100644 (file)
@@ -169,9 +169,9 @@ static const struct snd_soc_dapm_route audio_map[] = {
        {"Mic Bias", NULL, "Headset Jack"},
 };
 
-static const char *jack_function[] = {"Headphone", "Mic", "Line", "Headset",
-       "Off"};
-static const char *spk_function[] = {"On", "Off"};
+static const char * const jack_function[] = {"Headphone", "Mic", "Line",
+       "Headset", "Off"};
+static const char * const spk_function[] = {"On", "Off"};
 static const struct soc_enum tosa_enum[] = {
        SOC_ENUM_SINGLE_EXT(5, jack_function),
        SOC_ENUM_SINGLE_EXT(2, spk_function),