projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b6f16
)
The led_lock is never initialised, so there
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 12 Aug 2011 18:23:08 +0000
(20:23 +0200)
committer
Luis R. Rodriguez
<mcgrof@qca.qualcomm.com>
Mon, 22 Aug 2011 16:42:28 +0000
(09:42 -0700)
are warnings/errors. It can also be made
static.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
compat/compat-2.6.37.c
patch
|
blob
|
history
diff --git
a/compat/compat-2.6.37.c
b/compat/compat-2.6.37.c
index a62b13fc438673069cdb1eda704e857b3612f6e8..257880ea3055eff4bad0ce8e2e309ed7083b7c2a 100644
(file)
--- a/
compat/compat-2.6.37.c
+++ b/
compat/compat-2.6.37.c
@@
-158,7
+158,7
@@
EXPORT_SYMBOL(compat_genl_unregister_family);
#undef led_brightness_set
#undef led_classdev_unregister
-s
pinlock_t led_lock
;
+s
tatic DEFINE_SPINLOCK(led_lock)
;
static LIST_HEAD(led_timers);
struct led_timer {