Fix module struct initialization in usbmouse, and make some visual
changes to the same place in usbkeyboard.
Modified:
branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbkey.c
Modified:
branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbmouse.c
_____
Modified:
branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbkey.c
--- branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbkey.c
2006-01-09 11:14:26 UTC (rev 20749)
+++ branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbkey.c
2006-01-09 11:24:09 UTC (rev 20750)
@@ -212,21 +212,14 @@
static struct usb_driver usb_kbd_driver = {
- THIS_MODULE,
- "keyboard",
- usb_kbd_probe,
- usb_kbd_disconnect,
- NULL,
- NULL,
- NULL,
- usb_kbd_id_table,
-/*
- .owner = THIS_MODULE,
- .name = "keyboard",
- .probe = usb_kbd_probe,
- .disconnect = usb_kbd_disconnect,
- .id_table = usb_kbd_id_table,
-*/
+ /*.owner =*/ THIS_MODULE,
+ /*.name =*/ "keyboard",
+ /*.probe =*/ usb_kbd_probe,
+ /*.disconnect =*/ usb_kbd_disconnect,
+ /*.ioctl =*/ NULL,
+ /*.suspend =*/ NULL,
+ /*.resume =*/ NULL,
+ /*.id_table =*/ usb_kbd_id_table
};
void UsbKeyBoardInit(void)
_____
Modified:
branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbmouse.c
--- branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbmouse.c
2006-01-09 11:14:26 UTC (rev 20749)
+++ branches/usb2_6/reactos/drivers/usb/usbport/core_drivers/usbmouse.c
2006-01-09 11:24:09 UTC (rev 20750)
@@ -257,18 +257,14 @@
MODULE_DEVICE_TABLE (usb, usb_mouse_id_table);
static struct usb_driver usb_mouse_driver = {
- THIS_MODULE,
- "usbmouse",
- usb_mouse_probe,
- usb_mouse_disconnect,
- usb_mouse_id_table
-/*
- .owner = THIS_MODULE,
- .name = "usbmouse",
- .probe = usb_mouse_probe,
- .disconnect = usb_mouse_disconnect,
- .id_table = usb_mouse_id_table,
-*/
+ /*.owner =*/ THIS_MODULE,
+ /*.name =*/ "usbmouse",
+ /*.probe =*/ usb_mouse_probe,
+ /*.disconnect =*/ usb_mouse_disconnect,
+ /*.ioctl =*/ NULL,
+ /*.suspend =*/ NULL,
+ /*.resume =*/ NULL,
+ /*.id_table =*/ usb_mouse_id_table
};
Show replies by date