Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b884606 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

sound: oss/vwsnd: Always define vwsnd_mutex



While the conversion of BKL to mutex in commit 645ef9ef, the mutex
definition was put in a wrong place inside #ifdef WSND_DEBUG, which
leads to the build error.  Just move it outside the ifdef.

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8331b9e3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -155,12 +155,13 @@

#include "sound_config.h"

static DEFINE_MUTEX(vwsnd_mutex);

/*****************************************************************************/
/* debug stuff */

#ifdef VWSND_DEBUG

static DEFINE_MUTEX(vwsnd_mutex);
static int shut_up = 1;

/*