diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 21:24:02 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-14 16:15:37 +0200 |
commit | 47023ec774b6f73bb11d9f3b00b21f2bbd87e0f2 (patch) | |
tree | 409188a51906c65c22dc44efe6432857cf18562d /sound/core | |
parent | f3fbba6efbab93b9850821d41a75b02286d18315 (diff) | |
download | op-kernel-dev-47023ec774b6f73bb11d9f3b00b21f2bbd87e0f2.zip op-kernel-dev-47023ec774b6f73bb11d9f3b00b21f2bbd87e0f2.tar.gz |
sound: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/pcm_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index e2e7389..eb40942 100644 --- 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), |