ASoC: pxa: Make static string arrays 'const 'char * const []'
[linux-2.6-block.git] / sound / soc / pxa / spitz.c
index 0e02634c8b7f6f41764b75344ae850ff7ce586d7..07d77cddac601be5b53e7801f516667e19c806a7 100644 (file)
@@ -241,9 +241,9 @@ static const struct snd_soc_dapm_route spitz_audio_map[] = {
        {"LINPUT1", NULL, "Line 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 spitz_enum[] = {
        SOC_ENUM_SINGLE_EXT(5, jack_function),
        SOC_ENUM_SINGLE_EXT(2, spk_function),