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]
/
drivers
/
mtd
/
maps
/
octagon-5066.c
diff --git
a/drivers/mtd/maps/octagon-5066.c
b/drivers/mtd/maps/octagon-5066.c
index
10bd890
..
e5ff83d
100644
(file)
--- a/
drivers/mtd/maps/octagon-5066.c
+++ b/
drivers/mtd/maps/octagon-5066.c
@@
-41,7
+41,7
@@
static volatile char page_n_dev = 0;
static unsigned long iomapadr;
static volatile char page_n_dev = 0;
static unsigned long iomapadr;
-static
spinlock_t oct5066_spin = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(oct5066_spin)
;
/*
* We use map_priv_1 to identify which device we are.
/*
* We use map_priv_1 to identify which device we are.