vserver 1.9.5.x5
[linux-2.6.git] / sound / sound_core.c
index e8d5b2e..30f75c9 100644 (file)
@@ -146,7 +146,7 @@ static struct sound_unit *__sound_remove_unit(struct sound_unit **list, int unit
  *     This lock guards the sound loader list.
  */
 
-static spinlock_t sound_loader_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(sound_loader_lock);
 
 /*
  *     Allocate the controlling structure and add it to the sound driver