patch-2.1.28 linux/drivers/sound/lowlevel/init.c

Next file: linux/drivers/sound/mad16.c
Previous file: linux/drivers/sound/lowlevel/awe_wave.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.27/linux/drivers/sound/lowlevel/init.c linux/drivers/sound/lowlevel/init.c
@@ -16,6 +16,8 @@
 extern void unload_aci(void);
 extern int attach_awe(void);
 extern void unload_awe(void);
+extern int init_aedsp16(void);
+extern void uninit_aedsp16(void);
 
 /*
  * There are two places where you can insert initialization calls of
@@ -26,6 +28,9 @@
 void
 sound_preinit_lowlevel_drivers(void)
 {
+#ifdef CONFIG_AEDSP16
+   init_aedsp16();
+#endif
 }
 
 void
@@ -50,5 +55,10 @@
 #ifdef CONFIG_AWE32_SYNTH
    unload_awe();
 #endif
+
+#ifdef CONFIG_AEDSP16
+   uninit_aedsp16();
+#endif
+
 }
 #endif

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