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;
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;
if (hw_config->slots[5] != -1)
sound_unload_mixerdev(hw_config->slots[5]);
- if(samples)
- vfree(samples);
+ vfree(samples);
samples=NULL;
}
/* called in interrupt context */