diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-10-17 03:21:48 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-17 03:23:51 -0400 |
commit | a2af050f8df6eeec29818639859f14eb237d6957 (patch) | |
tree | 01dcad35cafbeefc951a68dd0c0f51ecf396ad3a /sound/pci/ice1712/maya44.c | |
parent | 77b0b254af72add59c8125cd8799f390bc508f2b (diff) |
ALSA: ice17xx: Constify strings and string arrays
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/maya44.c')
-rw-r--r-- | sound/pci/ice1712/maya44.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/maya44.c b/sound/pci/ice1712/maya44.c index 726fd4b92e19..9729c322115c 100644 --- a/sound/pci/ice1712/maya44.c +++ b/sound/pci/ice1712/maya44.c | |||
@@ -358,7 +358,7 @@ static void wm8776_select_input(struct snd_maya44 *chip, int idx, int line) | |||
358 | static int maya_rec_src_info(struct snd_kcontrol *kcontrol, | 358 | static int maya_rec_src_info(struct snd_kcontrol *kcontrol, |
359 | struct snd_ctl_elem_info *uinfo) | 359 | struct snd_ctl_elem_info *uinfo) |
360 | { | 360 | { |
361 | static char *texts[] = { "Line", "Mic" }; | 361 | static const char * const texts[] = { "Line", "Mic" }; |
362 | 362 | ||
363 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; | 363 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; |
364 | uinfo->count = 1; | 364 | uinfo->count = 1; |
@@ -407,7 +407,7 @@ static int maya_rec_src_put(struct snd_kcontrol *kcontrol, | |||
407 | static int maya_pb_route_info(struct snd_kcontrol *kcontrol, | 407 | static int maya_pb_route_info(struct snd_kcontrol *kcontrol, |
408 | struct snd_ctl_elem_info *uinfo) | 408 | struct snd_ctl_elem_info *uinfo) |
409 | { | 409 | { |
410 | static char *texts[] = { | 410 | static const char * const texts[] = { |
411 | "PCM Out", /* 0 */ | 411 | "PCM Out", /* 0 */ |
412 | "Input 1", "Input 2", "Input 3", "Input 4" | 412 | "Input 1", "Input 2", "Input 3", "Input 4" |
413 | }; | 413 | }; |