fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / arm / mach-footbridge / ebsa285-leds.c
index 46ce714..a64e222 100644 (file)
@@ -16,7 +16,6 @@
  * Changelog:
  *   02-05-1999        RMK     Various cleanups
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
@@ -32,7 +31,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)
 {