patch-2.1.111 linux/fs/proc/proc_tty.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/fs/proc/proc_tty.c linux/fs/proc/proc_tty.c
@@ -6,6 +6,7 @@
 
 #include <asm/uaccess.h>
 
+#include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/proc_fs.h>
@@ -169,7 +170,7 @@
 /*
  * Called by proc_root_init() to initialize the /proc/tty subtree
  */
-void proc_tty_init(void)
+__initfunc(void proc_tty_init(void))
 {
 	struct proc_dir_entry *ent;
 	

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