patch-2.3.12 linux/drivers/usb/mouse.c
Next file: linux/drivers/usb/ohci-debug.c
Previous file: linux/drivers/usb/inits.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Jul 25 20:30:46 1999
- Orig file:
v2.3.11/linux/drivers/usb/mouse.c
- Orig date:
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.11/linux/drivers/usb/mouse.c linux/drivers/usb/mouse.c
@@ -336,15 +336,15 @@
{
struct mouse_state *mouse = &static_mouse_state;
- misc_register(&usb_mouse);
-
mouse->present = mouse->active = 0;
mouse->irq_handle = NULL;
init_waitqueue_head(&mouse->wait);
mouse->fasync = NULL;
+ misc_register(&usb_mouse);
+
usb_register(&mouse_driver);
- printk(KERN_INFO "USB HID boot protocol mouse registered.\n");
+ printk(KERN_INFO "USB HID boot protocol mouse driver registered.\n");
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)