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/prodigy192.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/prodigy192.c')
-rw-r--r-- | sound/pci/ice1712/prodigy192.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/prodigy192.c b/sound/pci/ice1712/prodigy192.c index e36ddb94c38..fd739c4c9cf 100644 --- a/sound/pci/ice1712/prodigy192.c +++ b/sound/pci/ice1712/prodigy192.c | |||
@@ -283,7 +283,7 @@ static int stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_el | |||
283 | static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol, | 283 | static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol, |
284 | struct snd_ctl_elem_info *uinfo) | 284 | struct snd_ctl_elem_info *uinfo) |
285 | { | 285 | { |
286 | static char *texts[2] = { "Line In", "Mic" }; | 286 | static const char * const texts[2] = { "Line In", "Mic" }; |
287 | 287 | ||
288 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; | 288 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; |
289 | uinfo->count = 1; | 289 | uinfo->count = 1; |
@@ -562,7 +562,7 @@ static unsigned char prodigy192_ak4114_read(void *private_data, | |||
562 | static int ak4114_input_sw_info(struct snd_kcontrol *kcontrol, | 562 | static int ak4114_input_sw_info(struct snd_kcontrol *kcontrol, |
563 | struct snd_ctl_elem_info *uinfo) | 563 | struct snd_ctl_elem_info *uinfo) |
564 | { | 564 | { |
565 | static char *texts[2] = { "Toslink", "Coax" }; | 565 | static const char * const texts[2] = { "Toslink", "Coax" }; |
566 | 566 | ||
567 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; | 567 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; |
568 | uinfo->count = 1; | 568 | uinfo->count = 1; |