patch-2.1.37 linux/drivers/char/vga.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
- Lines: 30
- Date:
Mon May 12 10:35:40 1997
- Orig file:
v2.1.36/linux/drivers/char/vga.c
- Orig date:
Mon Apr 7 11:35:29 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/char/vga.c linux/drivers/char/vga.c
@@ -53,6 +53,7 @@
#include <linux/major.h>
#include <linux/mm.h>
#include <linux/ioport.h>
+#include <linux/init.h>
#include <asm/io.h>
#include <asm/system.h>
@@ -146,8 +147,8 @@
hide_cursor();
}
-unsigned long
-con_type_init(unsigned long kmem_start, const char **display_desc)
+__initfunc(unsigned long
+con_type_init(unsigned long kmem_start, const char **display_desc))
{
if (ORIG_VIDEO_MODE == 7) /* Is this a monochrome display? */
{
@@ -239,8 +240,8 @@
return kmem_start;
}
-void
-con_type_init_finish(void)
+__initfunc(void
+con_type_init_finish(void))
{
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov