summaryrefslogtreecommitdiffstats
path: root/sound/ppc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 22:25:51 +0000
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 22:25:51 +0000
commit3f76d9841e9cf6dd969ff3aec96476dced9c53f8 (patch)
tree4f432226de44a3b51ff5286925856fa763f76587 /sound/ppc
parentb299c22c8c1024a5a89d19524e24b3e1d67e9eab (diff)
downloadlinux-3f76d9841e9cf6dd969ff3aec96476dced9c53f8.tar.bz2
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)
/*
* ALSA defs
*/
-const static struct snd_pcm_hardware snd_ps3_pcm_hw = {
+static const struct snd_pcm_hardware snd_ps3_pcm_hw = {
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_NONINTERLEAVED |
SNDRV_PCM_INFO_MMAP_VALID),