hid: Backport hid-generic driver

This patch provides provisional backport of hid-generic driver which
is required for Bluetooth HIDP to work with backports, since hidp
module has its HID driver removed.

This is a backport of the following upstream change:

HID: Create a common generic driver (8215d557e5f3a70e50e07c857d35c250fee62a73)

BugLink: http://bugs.launchpad.net/bugs/1489327

Signed-off-by: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
Andrzej Kaczmarek
2014-01-22 17:34:32 +01:00
committed by Tim Gardner
parent aa3fc97937
commit 006184adc8
4 changed files with 63 additions and 1 deletions

View File

@@ -139,6 +139,7 @@ struct usb_device_id {
#define USB_DEVICE_ID_MATCH_INT_NUMBER 0x0400
#define HID_ANY_ID (~0)
#define HID_BUS_ANY 0xffff
struct hid_device_id {
__u16 bus;