git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[pandora-kernel.git]
/
drivers
/
leds
/
led-core.c
diff --git
a/drivers/leds/led-core.c
b/drivers/leds/led-core.c
index
9b015f9
..
016d19f
100644
(file)
--- a/
drivers/leds/led-core.c
+++ b/
drivers/leds/led-core.c
@@
-14,12
+14,12
@@
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#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"
#include <linux/leds.h>
#include "leds.h"
-DE
FINE_RWLOCK
(leds_list_lock);
-
LIST_HEAD(leds_list
);
+DE
CLARE_RWSEM
(leds_list_lock);
+
EXPORT_SYMBOL_GPL(leds_list_lock
);
+LIST_HEAD(leds_list);
EXPORT_SYMBOL_GPL(leds_list);
EXPORT_SYMBOL_GPL(leds_list);
-EXPORT_SYMBOL_GPL(leds_list_lock);