Commit 47023ec7 authored by Joe Perches's avatar Joe Perches Committed by Takashi Iwai

sound: Use static const char * const where possible

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f3fbba6e
...@@ -142,7 +142,7 @@ int snd_pcm_info_user(struct snd_pcm_substream *substream, ...@@ -142,7 +142,7 @@ int snd_pcm_info_user(struct snd_pcm_substream *substream,
#ifdef RULES_DEBUG #ifdef RULES_DEBUG
#define HW_PARAM(v) [SNDRV_PCM_HW_PARAM_##v] = #v #define HW_PARAM(v) [SNDRV_PCM_HW_PARAM_##v] = #v
char *snd_pcm_hw_param_names[] = { static const char * const snd_pcm_hw_param_names[] = {
HW_PARAM(ACCESS), HW_PARAM(ACCESS),
HW_PARAM(FORMAT), HW_PARAM(FORMAT),
HW_PARAM(SUBFORMAT), HW_PARAM(SUBFORMAT),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment