patch-2.3.19 linux/drivers/sound/opl3.c

Next file: linux/drivers/sound/opl3sa.c
Previous file: linux/drivers/sound/nm256_coeff.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/drivers/sound/opl3.c linux/drivers/sound/opl3.c
@@ -32,8 +32,6 @@
 #include "sound_config.h"
 #include "soundmodule.h"
 
-#ifdef CONFIG_YM3812
-
 #include "opl3.h"
 
 #define MAX_VOICE	18
@@ -1218,10 +1216,10 @@
 	SOUND_LOCK_END;
 }
 
+MODULE_PARM(io, "i");
+
 #endif
 
 EXPORT_SYMBOL(opl3_init);
 EXPORT_SYMBOL(opl3_detect);
-MODULE_PARM(io, "i");
 
-#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)