vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / vmax301.c
index 9cf2629..c8c7411 100644 (file)
@@ -38,7 +38,7 @@
    the extra indirection from having one of the map->map_priv 
    fields pointing to yet another private struct.
 */
-static spinlock_t vmax301_spin = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(vmax301_spin);
 
 static void __vmax301_page(struct map_info *map, unsigned long page)
 {