patch-1.3.39 linux/drivers/char/psaux.c
Next file: linux/drivers/char/pty.c
Previous file: linux/drivers/char/msbusmouse.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Nov 9 08:24:04 1995
- Orig file:
v1.3.38/linux/drivers/char/psaux.c
- Orig date:
Mon Oct 16 18:38:22 1995
diff -u --recursive --new-file v1.3.38/linux/drivers/char/psaux.c linux/drivers/char/psaux.c
@@ -31,13 +31,7 @@
/* #define INITIALIZE_DEVICE */
-#ifdef MODULE
#include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -537,10 +531,13 @@
}
#ifdef MODULE
+int init_module(void)
+{
+ return psaux_init(); /*?? Bjorn */
+}
+
void cleanup_module(void)
{
- if (MOD_IN_USE)
- printk("psaux: in use, remove delayed\n");
mouse_deregister(&psaux_mouse);
}
#endif
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