vserver 1.9.5.x5
[linux-2.6.git] / arch / arm / mach-footbridge / ebsa285-leds.c
index 46ce714..2c7c363 100644 (file)
@@ -32,7 +32,7 @@
 static char led_state;
 static char hw_led_state;
 
-static spinlock_t leds_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(leds_lock);
 
 static void ebsa285_leds_event(led_event_t evt)
 {