patch-1.3.81 linux/drivers/char/atixlmouse.c
Next file: linux/drivers/char/busmouse.c
Previous file: linux/drivers/char/Makefile
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Sat Mar 30 13:20:33 1996
- Orig file:
v1.3.80/linux/drivers/char/atixlmouse.c
- Orig date:
Fri Mar 1 07:50:40 1996
diff -u --recursive --new-file v1.3.80/linux/drivers/char/atixlmouse.c linux/drivers/char/atixlmouse.c
@@ -16,7 +16,7 @@
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
-#include <linux/mouse.h>
+#include <linux/miscdevice.h>
#include <linux/random.h>
#include <asm/io.h>
@@ -194,7 +194,7 @@
fasync_mouse,
};
-static struct mouse atixl_mouse = {
+static struct miscdevice atixl_mouse = {
ATIXL_BUSMOUSE, "atixl", &atixl_busmouse_fops
};
@@ -222,7 +222,7 @@
mouse.dx = mouse.dy = 0;
mouse.wait = NULL;
printk("Bus mouse detected and installed.\n");
- mouse_register(&atixl_mouse);
+ misc_register(&atixl_mouse);
return 0;
}
@@ -235,6 +235,6 @@
void cleanup_module(void)
{
- mouse_deregister(&atixl_mouse);
+ misc_deregister(&atixl_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