patch-2.3.16 linux/drivers/char/busmouse.c
Next file: linux/drivers/char/buz.c
Previous file: linux/drivers/char/bttv.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Tue Aug 31 11:30:47 1999
- Orig file:
v2.3.15/linux/drivers/char/busmouse.c
- Orig date:
Sun Aug 15 11:48:40 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -49,7 +49,7 @@
/*#define BROKEN_MOUSE*/
extern int adb_mouse_init(void);
-extern int bus_mouse_init(void);
+extern int logi_busmouse_init(void);
extern int ms_bus_mouse_init(void);
extern int atixl_busmouse_init(void);
extern int amiga_mouse_init(void);
@@ -273,7 +273,7 @@
add_wait_queue(&mse->wait, &wait);
repeat:
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
if (!mse->ready && !signal_pending(current)) {
spin_unlock_irqrestore(&mse->lock, flags);
schedule();
@@ -432,11 +432,11 @@
return 0;
}
-__initfunc(int
-bus_mouse_init(void))
+int __init
+bus_mouse_init(void)
{
-#ifdef CONFIG_BUSMOUSE
- bus_mouse_init();
+#ifdef CONFIG_LOGIBUSMOUSE
+ logi_busmouse_init();
#endif
#ifdef CONFIG_MS_BUSMOUSE
ms_bus_mouse_init();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)