patch-2.1.36 linux/drivers/char/misc.c
Next file: linux/drivers/char/msbusmouse.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Apr 22 22:42:47 1997
- Orig file:
v2.1.35/linux/drivers/char/misc.c
- Orig date:
Fri Apr 4 08:52:19 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -39,6 +39,7 @@
#include <linux/malloc.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
+#include <linux/init.h>
#ifdef CONFIG_APM
#include <linux/apm_bios.h>
#endif
@@ -184,7 +185,7 @@
static struct proc_dir_entry *proc_misc;
#endif
-int misc_init(void)
+__initfunc(int misc_init(void))
{
#ifndef MODULE
#ifdef CONFIG_PROC_FS
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov