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
/
sbus
/
char
/
vfc_dev.c
diff --git
a/drivers/sbus/char/vfc_dev.c
b/drivers/sbus/char/vfc_dev.c
index
ad29b49
..
057a24b
100644
(file)
--- a/
drivers/sbus/char/vfc_dev.c
+++ b/
drivers/sbus/char/vfc_dev.c
@@
-178,7
+178,7
@@
struct vfc_dev *vfc_get_dev_ptr(int instance)
return vfc_dev_lst[instance];
}
-static
spinlock_t vfc_dev_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(vfc_dev_lock)
;
static int vfc_open(struct inode *inode, struct file *file)
{