vserver 2.0 rc7
[linux-2.6.git] / arch / ppc / 8xx_io / cs4218_tdm.c
index be7cef1..89fe0ce 100644 (file)
@@ -55,7 +55,7 @@ static int irq_installed = 0;
 static char **sound_buffers = NULL;
 static char **sound_read_buffers = NULL;
 
-static spinlock_t cs4218_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(cs4218_lock);
 
 /* Local copies of things we put in the control register.  Output
  * volume, like most codecs is really attenuation.