X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Foss%2Fgus_wave.c;h=b1f5c8c9f69dd04470c058e8ba6a0391dca924ec;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=2cc924d7b7f8157a30c8dc500a473d5fe020bd74;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/oss/gus_wave.c b/sound/oss/gus_wave.c index 2cc924d7b..b1f5c8c9f 100644 --- a/sound/oss/gus_wave.c +++ b/sound/oss/gus_wave.c @@ -94,7 +94,7 @@ static int recording_active; static int only_read_access; static int only_8_bits; -int iw_mode = 0; +static int iw_mode = 0; int gus_wave_volume = 60; int gus_pcm_volume = 80; int have_gus_max = 0; @@ -139,7 +139,7 @@ static int pcm_current_block; static unsigned long pcm_current_buf; static int pcm_current_count; static int pcm_current_intrflag; -spinlock_t gus_lock=SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(gus_lock); extern int *gus_osp;