summaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/aureon.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-17 09:21:48 +0200
committerTakashi Iwai <tiwai@suse.de>2012-10-17 09:23:51 +0200
commita2af050f8df6eeec29818639859f14eb237d6957 (patch)
tree01dcad35cafbeefc951a68dd0c0f51ecf396ad3a /sound/pci/ice1712/aureon.c
parentALSA: ice1712: Add Philips PSC724 Ultimate Edge (diff)
downloadlinux-a2af050f8df6eeec29818639859f14eb237d6957.tar.xz
linux-a2af050f8df6eeec29818639859f14eb237d6957.zip
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.c3
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,
static int aureon_universe_inmux_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo)
{
- char *texts[3] = {"Internal Aux", "Wavetable", "Rear Line-In"};
+ static const char * const texts[3] =
+ {"Internal Aux", "Wavetable", "Rear Line-In"};
uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
uinfo->count = 1;