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

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -24,7 +24,7 @@
 #define SEQUENCER_C
 #include "sound_config.h"
 
-#if defined(CONFIG_SEQUENCER) || defined(MODULE)
+#ifdef CONFIG_SEQUENCER
 #include "softoss.h"
 int             (*softsynthp) (int cmd, int parm1, int parm2, unsigned long parm3) = NULL;
 
@@ -1694,6 +1694,12 @@
 
 void sequencer_init(void)
 {
+	/* drag in sequencer_syms.o */
+	{
+		extern char sequencer_syms_symbol;
+		sequencer_syms_symbol = 0;
+	}
+
 	if (sequencer_ok)
 		return;
 #ifdef CONFIG_MIDI

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