diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-05-27 09:12:18 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-27 11:58:55 +0200 |
commit | 00a6d7b6762c27d441e9ac8faff36384bc0fc180 (patch) | |
tree | 7e87b1510b94f8b9d02503e20c10b12a2a3b856e /sound/aoa | |
parent | 16c2395203c30046cb9df43c2c28a7a968e449ac (diff) | |
download | op-kernel-dev-00a6d7b6762c27d441e9ac8faff36384bc0fc180.zip op-kernel-dev-00a6d7b6762c27d441e9ac8faff36384bc0fc180.tar.gz |
ALSA: sound/aoa/codecs/onyx.c: use static const for texts
'texts' is only used as source in strcpy
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa')
-rw-r--r-- | sound/aoa/codecs/onyx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index f01bffb..401107b 100644 --- a/sound/aoa/codecs/onyx.c +++ b/sound/aoa/codecs/onyx.c @@ -241,7 +241,7 @@ static struct snd_kcontrol_new inputgain_control = { static int onyx_snd_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { - static char *texts[] = { "Line-In", "Microphone" }; + static const char * const texts[] = { "Line-In", "Microphone" }; uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; uinfo->count = 1; |