ALSA: ice17xx: Constify strings and string arrays

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai
2012-10-17 09:21:48 +02:00
parent 77b0b254af
commit a2af050f8d
14 changed files with 54 additions and 50 deletions

View File

@@ -722,7 +722,7 @@ static int phase28_deemp_put(struct snd_kcontrol *kcontrol,
static int phase28_oversampling_info(struct snd_kcontrol *k,
struct snd_ctl_elem_info *uinfo)
{
static char *texts[2] = { "128x", "64x" };
static const char * const texts[2] = { "128x", "64x" };
uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
uinfo->count = 1;