projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fbba6
)
sound: Use static const char * const where possible
author
Joe Perches
<joe@perches.com>
Tue, 14 Sep 2010 04:24:02 +0000
(21:24 -0700)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 14 Sep 2010 14:15:37 +0000
(16:15 +0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c
patch
|
blob
|
history
diff --git
a/sound/core/pcm_native.c
b/sound/core/pcm_native.c
index e2e73895db122261843b53943b87bf2e2723480c..eb4094270a4fcceb4a4cb4ead4740101df70c09f 100644
(file)
--- a/
sound/core/pcm_native.c
+++ b/
sound/core/pcm_native.c
@@
-142,7
+142,7
@@
int snd_pcm_info_user(struct snd_pcm_substream *substream,
#ifdef RULES_DEBUG
#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(FORMAT),
HW_PARAM(SUBFORMAT),