patch-2.1.118 linux/drivers/sound/lowlevel/soundlow.c

Next file: linux/drivers/sound/msnd_pinnacle.c
Previous file: linux/drivers/sound/lowlevel/miroaci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/drivers/sound/lowlevel/soundlow.c linux/drivers/sound/lowlevel/soundlow.c
@@ -5,6 +5,7 @@
 #include "lowlevel.h"
 #include <linux/config.h>
 #include <linux/module.h>
+#include <linux/init.h>
 #include "../soundvers.h"
 
 #ifdef LOWLEVEL_MODULE
@@ -15,8 +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);
+extern int init_aedsp16(void) __init;
+extern void uninit_aedsp16(void) __init;
 
 /*
  * There are two places where you can insert initialization calls of

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