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

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/pas2_midi.c linux/drivers/sound/pas2_midi.c
@@ -15,7 +15,8 @@
 
 #include "sound_config.h"
 
-#if ( defined(MODULE) || defined(CONFIG_PAS) ) && defined(CONFIG_MIDI)
+#ifdef CONFIG_PAS
+#ifdef CONFIG_MIDI
 
 static int      midi_busy = 0, input_opened = 0;
 static int      my_dev;
@@ -274,4 +275,5 @@
 	pas_write(stat, 0x1B88);	/* Acknowledge interrupts */
 }
 
+#endif
 #endif

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