Skip to content

Commit

Permalink
sound: oss/vwsnd: Always define vwsnd_mutex
Browse files Browse the repository at this point in the history
While the conversion of BKL to mutex in commit 645ef9e, 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: Fengguang Wu <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jul 15, 2013
1 parent 8331b9e commit 4b88460
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/oss/vwsnd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 4b88460

Please sign in to comment.