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
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
arm
/
mach-shark
/
leds.c
diff --git
a/arch/arm/mach-shark/leds.c
b/arch/arm/mach-shark/leds.c
index
7a2d1e9
..
7bdeb70
100644
(file)
--- a/
arch/arm/mach-shark/leds.c
+++ b/
arch/arm/mach-shark/leds.c
@@
-33,7
+33,7
@@
static char led_state;
static short hw_led_state;
static short saved_state;
-static
spinlock_t leds_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(leds_lock)
;
short sequoia_read(int addr) {
outw(addr,0x24);