patch-2.0.1 linux/drivers/sound/lowlevel/init.c
Next file: linux/drivers/sound/mad16.c
Previous file: linux/drivers/sound/lowlevel/aci.readme
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue May 28 17:45:17 1996
- Orig file:
v2.0.0/linux/drivers/sound/lowlevel/init.c
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v2.0.0/linux/drivers/sound/lowlevel/init.c linux/drivers/sound/lowlevel/init.c
@@ -0,0 +1,26 @@
+/*
+ * lowlevel/init.c - Calls initialization code for configured drivers.
+ */
+
+#include <linux/config.h>
+
+#ifdef CONFIG_LOWLEVEL_SOUND
+extern int attach_aci(void);
+extern void unload_aci(void);
+
+void
+sound_init_lowlevel_drivers(void)
+{
+#ifdef CONFIG_ACI_MIXER
+ attach_aci();
+#endif
+}
+
+void
+sound_unload_lowlevel_drivers(void)
+{
+#ifdef CONFIG_ACI_MIXER
+ unload_aci();
+#endif
+}
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov