patch-2.1.23 linux/drivers/sound/soundcard.c

Next file: linux/fs/affs/dir.c
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.22/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -444,11 +444,6 @@
 {
   int             i;
 
-  if (MOD_IN_USE)
-    {
-      return;
-    }
-
   if (chrdev_registered)
     unregister_chrdev (sound_major, "sound");
 
@@ -638,6 +633,9 @@
 #endif
 
 static int      dma_buffsize = DSP_BUFFSIZE;
+#ifdef MODULE_PARM
+MODULE_PARM(dma_buffsize, "i");
+#endif
 
 int
 sound_alloc_dmap (int dev, struct dma_buffparms *dmap, int chan)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov