diff options
-rw-r--r-- | drivers/usb/input/usbkbd.c | 4 | ||||
-rw-r--r-- | drivers/usb/input/usbmouse.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/input/usbkbd.c b/drivers/usb/input/usbkbd.c index 8505824848f6..3749f4a235f9 100644 --- a/drivers/usb/input/usbkbd.c +++ b/drivers/usb/input/usbkbd.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/usb/input.h> | 33 | #include <linux/usb/input.h> |
34 | #include <linux/hid.h> | ||
34 | 35 | ||
35 | /* | 36 | /* |
36 | * Version Information | 37 | * Version Information |
@@ -330,7 +331,8 @@ static void usb_kbd_disconnect(struct usb_interface *intf) | |||
330 | } | 331 | } |
331 | 332 | ||
332 | static struct usb_device_id usb_kbd_id_table [] = { | 333 | static struct usb_device_id usb_kbd_id_table [] = { |
333 | { USB_INTERFACE_INFO(3, 1, 1) }, | 334 | { USB_INTERFACE_INFO(USB_INTERFACE_CLASS_HID, USB_INTERFACE_SUBCLASS_BOOT, |
335 | USB_INTERFACE_PROTOCOL_KEYBOARD) }, | ||
334 | { } /* Terminating entry */ | 336 | { } /* Terminating entry */ |
335 | }; | 337 | }; |
336 | 338 | ||
diff --git a/drivers/usb/input/usbmouse.c b/drivers/usb/input/usbmouse.c index 64a33e420cfb..692fd6087779 100644 --- a/drivers/usb/input/usbmouse.c +++ b/drivers/usb/input/usbmouse.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/usb/input.h> | 33 | #include <linux/usb/input.h> |
34 | #include <linux/hid.h> | ||
34 | 35 | ||
35 | /* | 36 | /* |
36 | * Version Information | 37 | * Version Information |
@@ -213,7 +214,8 @@ static void usb_mouse_disconnect(struct usb_interface *intf) | |||
213 | } | 214 | } |
214 | 215 | ||
215 | static struct usb_device_id usb_mouse_id_table [] = { | 216 | static struct usb_device_id usb_mouse_id_table [] = { |
216 | { USB_INTERFACE_INFO(3, 1, 2) }, | 217 | { USB_INTERFACE_INFO(USB_INTERFACE_CLASS_HID, USB_INTERFACE_SUBCLASS_BOOT, |
218 | USB_INTERFACE_PROTOCOL_MOUSE) }, | ||
217 | { } /* Terminating entry */ | 219 | { } /* Terminating entry */ |
218 | }; | 220 | }; |
219 | 221 | ||