diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-06 22:41:29 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-07 09:44:52 +0100 |
commit | 70edc800a39327174d3244f9226ce8cacd01dc91 (patch) | |
tree | bc31cc029d22da1b7a66b5e6c08a69861c0dbe01 /sound/oss/dmasound | |
parent | f702cf463e1308fbb0c1faa9f3d8e3fa9cb5630f (diff) | |
download | kernel_goldelico_gta04-70edc800a39327174d3244f9226ce8cacd01dc91.zip kernel_goldelico_gta04-70edc800a39327174d3244f9226ce8cacd01dc91.tar.gz kernel_goldelico_gta04-70edc800a39327174d3244f9226ce8cacd01dc91.tar.bz2 |
sound: Replace old style lock initializer
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>
Diffstat (limited to 'sound/oss/dmasound')
-rw-r--r-- | sound/oss/dmasound/dmasound_core.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |