aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:25:51 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:25:51 -0400
commit3f76d9841e9cf6dd969ff3aec96476dced9c53f8 (patch)
tree4f432226de44a3b51ff5286925856fa763f76587 /sound/ppc
parentb299c22c8c1024a5a89d19524e24b3e1d67e9eab (diff)
ALSA: Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'sound/ppc')
-rw-r--r--sound/ppc/snd_ps3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index d8d0b4b2395a..20d0e328288a 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -137,7 +137,7 @@ static inline void update_mask_reg(unsigned int reg, u32 mask, u32 or_val)
137/* 137/*
138 * ALSA defs 138 * ALSA defs
139 */ 139 */
140const static struct snd_pcm_hardware snd_ps3_pcm_hw = { 140static const struct snd_pcm_hardware snd_ps3_pcm_hw = {
141 .info = (SNDRV_PCM_INFO_MMAP | 141 .info = (SNDRV_PCM_INFO_MMAP |
142 SNDRV_PCM_INFO_NONINTERLEAVED | 142 SNDRV_PCM_INFO_NONINTERLEAVED |
143 SNDRV_PCM_INFO_MMAP_VALID), 143 SNDRV_PCM_INFO_MMAP_VALID),