patch-2.1.106 linux/drivers/char/mem.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/mac_SCC.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.105/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -27,8 +27,14 @@
 #include <asm/pgtable.h>
 
 #ifdef CONFIG_SOUND
+void soundcore_init(void);
+#ifdef CONFIG_SOUND_OSS
 void soundcard_init(void);
 #endif
+#ifdef CONFIG_DMASOUND
+void dmasound_init(void);
+#endif
+#endif
 #ifdef CONFIG_ISDN
 int isdn_init(void);
 #endif
@@ -539,6 +545,9 @@
 	soundcore_init();
 #ifdef CONFIG_SOUND_OSS	
 	soundcard_init();
+#endif	
+#ifdef CONFIG_DMASOUND
+	dmasound_init();
 #endif	
 #endif
 #ifdef CONFIG_JOYSTICK

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