patch-1.3.58 linux/drivers/char/mouse.c
Next file: linux/drivers/char/tga.c
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Mon Jan 15 07:59:13 1996
- Orig file:
v1.3.57/linux/drivers/char/mouse.c
- Orig date:
Wed Dec 27 09:12:13 1995
diff -u --recursive --new-file v1.3.57/linux/drivers/char/mouse.c linux/drivers/char/mouse.c
@@ -104,6 +104,14 @@
#endif
+static struct symbol_table mouse_syms = {
+/* Should this be surrounded with "#ifdef CONFIG_MODULES" ? */
+#include <linux/symtab_begin.h>
+ X(mouse_register),
+ X(mouse_deregister),
+#include <linux/symtab_end.h>
+};
+
int mouse_init(void)
{
#ifndef MODULE
@@ -128,5 +136,6 @@
MOUSE_MAJOR);
return -EIO;
}
- return 0;
+
+ return register_symtab(&mouse_syms);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this