]> Git Repo - linux.git/blobdiff - drivers/leds/led-core.c
V4L/DVB (10155): Add TEA5764 radio driver
[linux.git] / drivers / leds / led-core.c
index fe6541326c717fb996cb591aebb5a1bbc2107569..016d19f5486f2bd7cf9ea93df863f7d5c8a8cd1a 100644 (file)
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/module.h>
-#include <linux/spinlock.h>
+#include <linux/rwsem.h>
 #include <linux/leds.h>
 #include "leds.h"
 
-rwlock_t leds_list_lock = RW_LOCK_UNLOCKED;
-LIST_HEAD(leds_list);
+DECLARE_RWSEM(leds_list_lock);
+EXPORT_SYMBOL_GPL(leds_list_lock);
 
+LIST_HEAD(leds_list);
 EXPORT_SYMBOL_GPL(leds_list);
-EXPORT_SYMBOL_GPL(leds_list_lock);
This page took 0.027763 seconds and 4 git commands to generate.