git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge to kernel-2.6.20-1.2949.fc6.vs2.2.0.1
[linux-2.6.git]
/
arch
/
arm
/
mach-footbridge
/
netwinder-leds.c
diff --git
a/arch/arm/mach-footbridge/netwinder-leds.c
b/arch/arm/mach-footbridge/netwinder-leds.c
index
bcf6e6a
..
8e9cac5
100644
(file)
--- a/
arch/arm/mach-footbridge/netwinder-leds.c
+++ b/
arch/arm/mach-footbridge/netwinder-leds.c
@@
-16,7
+16,6
@@
* Changelog:
* 02-05-1999 RMK Various cleanups
*/
* Changelog:
* 02-05-1999 RMK Various cleanups
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@
-32,7
+31,7
@@
static char led_state;
static char hw_led_state;
static char led_state;
static char hw_led_state;
-static
spinlock_t leds_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(leds_lock)
;
extern spinlock_t gpio_lock;
static void netwinder_leds_event(led_event_t evt)
extern spinlock_t gpio_lock;
static void netwinder_leds_event(led_event_t evt)