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 2.0 rc7
[linux-2.6.git]
/
sound
/
sound_core.c
diff --git
a/sound/sound_core.c
b/sound/sound_core.c
index
e8d5b2e
..
30f75c9
100644
(file)
--- a/
sound/sound_core.c
+++ b/
sound/sound_core.c
@@
-146,7
+146,7
@@
static struct sound_unit *__sound_remove_unit(struct sound_unit **list, int unit
* This lock guards the sound loader list.
*/
-static
spinlock_t sound_loader_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(sound_loader_lock)
;
/*
* Allocate the controlling structure and add it to the sound driver