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

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/opl3.c linux/drivers/sound/opl3.c
@@ -32,7 +32,7 @@
 #include "sound_config.h"
 #include "soundmodule.h"
 
-#if defined(CONFIG_YM3812) || defined(MODULE)
+#ifdef CONFIG_YM3812
 
 #include "opl3.h"
 
@@ -1209,11 +1209,10 @@
 	SOUND_LOCK_END;
 }
 
-#else
-
-#endif
 #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, slshen@lbl.gov