compat: fix LED lock
PATCH 1/1 compat: fix LED lock
The led_lock is never initialised, so there
are warnings/errors. It can also be made
static.
Signed-off-by Johannes Berg <[email protected]>
--- compat/compat-2.6.37.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
compat/compat-2.6.37.c +1 -1
@@ -158,7 +158,7 @@ EXPORT_SYMBOL(compat_genl_unregister_family);#undef led_brightness_set#undef led_classdev_unregister -spinlock_t led_lock; +static DEFINE_SPINLOCK (led_lock);static LIST_HEAD (led_timers);struct led_timer {