X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Foss%2Fwaveartist.c;h=99d04ad3ca13158f4281e0c449c3d6a39e12be9d;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=438e64ecbd883b621bb795a90f1f858da751d7c9;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/oss/waveartist.c b/sound/oss/waveartist.c index 438e64ecb..99d04ad3c 100644 --- a/sound/oss/waveartist.c +++ b/sound/oss/waveartist.c @@ -146,7 +146,7 @@ typedef struct wavnc_port_info { static int nr_waveartist_devs; static wavnc_info adev_info[MAX_AUDIO_DEV]; -static spinlock_t waveartist_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(waveartist_lock); #ifndef CONFIG_ARCH_NETWINDER #define machine_is_netwinder() 0