]> Git Repo - linux.git/commitdiff
sound: Replace old style lock initializer
authorThomas Gleixner <[email protected]>
Fri, 6 Nov 2009 22:41:29 +0000 (22:41 +0000)
committerTakashi Iwai <[email protected]>
Sat, 7 Nov 2009 08:44:52 +0000 (09:44 +0100)
SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead.

Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/oss/dmasound/dmasound_core.c

index 793b7f4784332b1c039f7f4153ff9aafb87cd5a8..3f3c3f71db4b59d4204741e82df1f256ae155808 100644 (file)
@@ -219,7 +219,9 @@ static int shared_resources_initialised;
      *  Mid level stuff
      */
 
-struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED };
+struct sound_settings dmasound = {
+       .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
+};
 
 static inline void sound_silence(void)
 {
This page took 0.053721 seconds and 4 git commands to generate.