patch-2.2.0-pre8 linux/drivers/sound/sequencer.c

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

diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -16,9 +16,7 @@
  */
 #include <linux/config.h>
 
-#ifdef CONFIG_KMOD
 #include <linux/kmod.h>
-#endif
 
 
 #define SEQUENCER_C
@@ -998,10 +996,8 @@
 	if (dev)		/* Patch manager device (obsolete) */
 		return -ENXIO;
 
-#ifdef CONFIG_KMOD
 	if(synth_devs[dev] == NULL)
 		request_module("synth0");
-#endif
 
 	if (mode == OPEN_READ)
 	{

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