patch-2.1.36 linux/drivers/char/vc_screen.c

Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -30,6 +30,7 @@
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 #include <linux/mm.h>
+#include <linux/init.h>
 #include <asm/uaccess.h>
 #include "vt_kern.h"
 #include "selection.h"
@@ -251,7 +252,7 @@
 	NULL		/* fsync */
 };
 
-int vcs_init(void)
+__initfunc(int vcs_init(void))
 {
 	int error;
 

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