patch-2.1.37 linux/drivers/char/fbmem.c
Next file: linux/drivers/char/ftape/kernel-interface.c
Previous file: linux/drivers/char/esp.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon May 12 10:35:40 1997
- Orig file:
v2.1.36/linux/drivers/char/fbmem.c
- Orig date:
Fri Apr 4 08:52:19 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/char/fbmem.c linux/drivers/char/fbmem.c
@@ -16,6 +16,7 @@
#include <linux/malloc.h>
#include <linux/mman.h>
#include <linux/tty.h>
+#include <linux/init.h>
#include <asm/setup.h>
#include <asm/uaccess.h>
@@ -300,8 +301,8 @@
return 0;
}
-void
-fbmem_init(void)
+__initfunc(void
+fbmem_init(void))
{
if (register_chrdev(FB_MAJOR,"fb",&fb_fops))
printk("unable to get major %d for fb devs\n", FB_MAJOR);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov