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

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/gus_midi.c linux/drivers/sound/gus_midi.c
@@ -17,7 +17,8 @@
 
 #include "gus_hw.h"
 
-#if ( defined(CONFIG_GUS) && defined(CONFIG_MIDI) ) || defined (MODULE)
+#ifdef CONFIG_GUS
+#ifdef CONFIG_MIDI
 
 static int      midi_busy = 0, input_opened = 0;
 static int      my_dev;
@@ -265,4 +266,5 @@
 	restore_flags(flags);
 }
 
+#endif
 #endif

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