vserver 1.9.5.x5
[linux-2.6.git] / sound / oss / wf_midi.c
index 3ced960..7b167b7 100644 (file)
@@ -81,7 +81,7 @@ static struct wf_mpu_config *phys_dev = &devs[0];
 static struct wf_mpu_config *virt_dev = &devs[1];
 
 static void start_uart_mode (void);
-static spinlock_t lock=SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(lock);
 
 #define        OUTPUT_READY    0x40
 #define        INPUT_AVAIL     0x80