vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / octagon-5066.c
index 10bd890..e5ff83d 100644 (file)
@@ -41,7 +41,7 @@
 
 static volatile char page_n_dev = 0;
 static unsigned long iomapadr;
-static spinlock_t oct5066_spin = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(oct5066_spin);
 
 /*
  * We use map_priv_1 to identify which device we are.