aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/prodigy192.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ice1712/prodigy192.c')
-rw-r--r--sound/pci/ice1712/prodigy192.c4
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
283static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol, 283static 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,
562static int ak4114_input_sw_info(struct snd_kcontrol *kcontrol, 562static 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;