patch-2.1.94 linux/drivers/sound/maui.c

Next file: linux/drivers/sound/midibuf.c
Previous file: linux/drivers/sound/mad16.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.93/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -20,6 +20,7 @@
  
 #include <linux/config.h>
 #include <linux/module.h>
+#include <asm/init.h>
 
 #define USE_SEQ_MACROS
 #define USE_SIMPLE_MACROS
@@ -452,6 +453,11 @@
 
 #ifdef MODULE
 
+MODULE_PARM(io,"i");
+MODULE_PARM(irq,"i");
+
+EXPORT_NO_SYMBOLS;
+
 int io = -1;
 int irq = -1;
 
@@ -489,7 +495,7 @@
 void cleanup_module(void)
 {
 	if (fw_load && maui_os)
-		kfree(maui_os);
+		vfree(maui_os);
 	unload_maui(&cfg);
 	SOUND_LOCK_END;
 }

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