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

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/uart401.c linux/drivers/sound/uart401.c
@@ -25,7 +25,8 @@
 #include "sound_config.h"
 #include "soundmodule.h"
 
-#if (defined(CONFIG_UART401)||defined(CONFIG_MIDI)) || defined(MODULE)
+#ifdef CONFIG_UART401
+#ifdef CONFIG_MIDI
 
 typedef struct uart401_devc
 {
@@ -475,13 +476,12 @@
 	SOUND_LOCK_END;
 }
 
-#else
-
-#endif
-
 #endif
 
 EXPORT_SYMBOL(attach_uart401);
 EXPORT_SYMBOL(probe_uart401);
 EXPORT_SYMBOL(unload_uart401);
 EXPORT_SYMBOL(uart401intr);
+
+#endif
+#endif

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