From: Takashi Iwai Date: Mon, 15 Jul 2013 10:00:24 +0000 (+0200) Subject: sound: oss/vwsnd: Always define vwsnd_mutex X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b8846062faac4e5c3f08e2e06bbb33c949aa51f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Fengguang Wu Signed-off-by: Takashi Iwai --- diff --git a/sound/oss/vwsnd.c b/sound/oss/vwsnd.c index d8db9023bc55..4bbcc0fcd4eb 100644 --- a/sound/oss/vwsnd.c +++ b/sound/oss/vwsnd.c @@ -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; /*