patch-2.1.109 linux/drivers/sound/sound_core.c

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

diff -u --recursive --new-file v2.1.108/linux/drivers/sound/sound_core.c linux/drivers/sound/sound_core.c
@@ -34,6 +34,7 @@
  *	locking at some point in 2.3.x.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/malloc.h>
 #include <linux/types.h>
@@ -318,5 +319,23 @@
 		printk(KERN_ERR "soundcore: sound device already in use.\n");
 		return -EBUSY;
 	}
+	/*
+	 *	Now init non OSS drivers
+	 */
+#ifdef CONFIG_SOUND_SONICVIBES
+	init_sonicvibes();
+#endif
+#ifdef CONFIG_SOUND_ES1370
+	init_es1370();
+#endif
+#ifdef CONFIG_SOUND_ES1371
+	init_es1371();
+#endif
+#ifdef CONFIG_SOUND_MSNDCLAS
+	msnd_classic_init();
+#endif
+#ifdef CONFIG_SOUND_MSNDPIN
+	msnd_pinnacle_init();
+#endif
 	return 0;
 }

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