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
fedora core 6 1.2949 + vserver 2.2.0
[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
..
5386a81
100644
(file)
--- a/
arch/arm/mach-shark/leds.c
+++ b/
arch/arm/mach-shark/leds.c
@@
-1,5
+1,5
@@
/*
/*
- * arch/arm/
kernel/leds-shark
.c
+ * arch/arm/
mach-shark/leds
.c
* by Alexander Schulz
*
* derived from:
* by Alexander Schulz
*
* derived from:
@@
-15,7
+15,6
@@
*
* Changelog:
*/
*
* Changelog:
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
@@
-33,7
+32,7
@@
static char led_state;
static short hw_led_state;
static short saved_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);
short sequoia_read(int addr) {
outw(addr,0x24);