mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
f702cf463e
commit
70edc800a3
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue