mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
sound: Replace old style lock initializer
SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
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