vserver 1.9.5.x5
[linux-2.6.git] / arch / arm / mach-shark / leds.c
index 7a2d1e9..7bdeb70 100644 (file)
@@ -33,7 +33,7 @@ static char led_state;
 static short hw_led_state;
 static short saved_state;
 
-static spinlock_t leds_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(leds_lock);
 
 short sequoia_read(int addr) {
   outw(addr,0x24);