Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / leds / led-core.c
index 9b015f9..fe65413 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/leds.h>
 #include "leds.h"
 
-DEFINE_RWLOCK(leds_list_lock);
+rwlock_t leds_list_lock = RW_LOCK_UNLOCKED;
 LIST_HEAD(leds_list);
 
 EXPORT_SYMBOL_GPL(leds_list);