patch-2.3.99-pre6 linux/drivers/sound/dmasound/dmasound_core.c

Next file: linux/drivers/sound/dmasound/dmasound_paula.c
Previous file: linux/drivers/sound/dmasound/dmasound_awacs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/sound/dmasound/dmasound_core.c linux/drivers/sound/dmasound/dmasound_core.c
@@ -1,6 +1,6 @@
 
 /*
- *  linux/drivers/sound/dmasound.c
+ *  linux/drivers/sound/dmasound/dmasound_core.c
  *
  *
  *  OSS/Free compatible Atari TT/Falcon and Amiga DMA sound driver for
@@ -1193,8 +1193,10 @@
 
 int __init dmasound_init(void)
 {
+#ifdef MODULE
 	if (irq_installed)
 		return -EBUSY;
+#endif
 
 	/* Set up sound queue, /dev/audio and /dev/dsp. */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)