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

Next file: linux/drivers/sound/gus_wave.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.62/linux/drivers/sound/gus_midi.c linux/drivers/sound/gus_midi.c
@@ -17,7 +17,8 @@
 
 #include "gus_hw.h"
 
-#if defined(CONFIG_GUSHW) && defined(CONFIG_MIDI)
+#ifdef CONFIG_GUSHW
+#ifdef CONFIG_MIDI
 
 static int      midi_busy = 0, input_opened = 0;
 static int      my_dev;
@@ -295,4 +296,5 @@
   restore_flags (flags);
 }
 
+#endif
 #endif

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