From: Thomas Gleixner Date: Fri, 6 Nov 2009 22:41:29 +0000 (+0000) Subject: sound: Replace old style lock initializer X-Git-Tag: v2.6.32-rc8~9^2~10^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70edc800a39327174d3244f9226ce8cacd01dc91;p=profile%2Fcommon%2Fkernel-common.git sound: Replace old style lock initializer SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead. Signed-off-by: Thomas Gleixner Signed-off-by: Takashi Iwai --- diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c index 793b7f4..3f3c3f7 100644 --- 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) {