]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/leds/led-core.c
Revert "Execute AML Notify() requests on stack."
[karo-tx-linux.git] / drivers / leds / led-core.c
index fe6541326c717fb996cb591aebb5a1bbc2107569..9b015f9af351e49526eb52ec0f0c09b4acb21e56 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/leds.h>
 #include "leds.h"
 
-rwlock_t leds_list_lock = RW_LOCK_UNLOCKED;
+DEFINE_RWLOCK(leds_list_lock);
 LIST_HEAD(leds_list);
 
 EXPORT_SYMBOL_GPL(leds_list);