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/aureon.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/aureon.c')
-rw-r--r-- | sound/pci/ice1712/aureon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ice1712/aureon.c b/sound/pci/ice1712/aureon.c index 20bcddea2eab..2d6bf80cb060 100644 --- a/sound/pci/ice1712/aureon.c +++ b/sound/pci/ice1712/aureon.c | |||
@@ -203,7 +203,8 @@ static void aureon_pca9554_write(struct snd_ice1712 *ice, unsigned char reg, | |||
203 | static int aureon_universe_inmux_info(struct snd_kcontrol *kcontrol, | 203 | static int aureon_universe_inmux_info(struct snd_kcontrol *kcontrol, |
204 | struct snd_ctl_elem_info *uinfo) | 204 | struct snd_ctl_elem_info *uinfo) |
205 | { | 205 | { |
206 | char *texts[3] = {"Internal Aux", "Wavetable", "Rear Line-In"}; | 206 | static const char * const texts[3] = |
207 | {"Internal Aux", "Wavetable", "Rear Line-In"}; | ||
207 | 208 | ||
208 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; | 209 | uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; |
209 | uinfo->count = 1; | 210 | uinfo->count = 1; |