projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f702cf4
)
sound: Replace old style lock initializer
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 6 Nov 2009 22:41:29 +0000
(22:41 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 7 Nov 2009 08:44:52 +0000
(09:44 +0100)
SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/dmasound/dmasound_core.c
patch
|
blob
|
history
diff --git
a/sound/oss/dmasound/dmasound_core.c
b/sound/oss/dmasound/dmasound_core.c
index
793b7f4
..
3f3c3f7
100644
(file)
--- a/
sound/oss/dmasound/dmasound_core.c
+++ b/
sound/oss/dmasound/dmasound_core.c
@@
-219,7
+219,9
@@
static int shared_resources_initialised;
* Mid level stuff
*/
-struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED };
+struct sound_settings dmasound = {
+ .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
+};
static inline void sound_silence(void)
{