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
upgrade to fedora-2.6.12-1.1398.FC4 + vserver 2.0.rc7
[linux-2.6.git]
/
drivers
/
sbus
/
char
/
bpp.c
diff --git
a/drivers/sbus/char/bpp.c
b/drivers/sbus/char/bpp.c
index
cf83dfd
..
8f0f469
100644
(file)
--- a/
drivers/sbus/char/bpp.c
+++ b/
drivers/sbus/char/bpp.c
@@
-432,7
+432,7
@@
static int terminate(unsigned minor)
return 0;
}
-static
spinlock_t bpp_open_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(bpp_open_lock)
;
/*
* Allow only one process to open the device at a time.