mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] Generic HID layer - hiddev
- hiddev is USB-only (agreed with Marcel Holtmann that Bluetooth currently doesn't need it, and future planned interface (rawhid) will be more flexible and usable) - both HID and USB-hid can be now compiled as modules (wasn't possible before hiddev was fully separated from generic HID layer) Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]> Cc: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
4916b3a57f
commit
aa938f7974
3 changed files with 11 additions and 6 deletions
|
|
@ -1284,6 +1284,9 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
|
|||
hid->hidinput_input_event = usb_hidinput_input_event;
|
||||
hid->hidinput_open = hidinput_open;
|
||||
hid->hidinput_close = hidinput_close;
|
||||
#ifdef CONFIG_USB_HIDDEV
|
||||
hid->hiddev_hid_event = hiddev_hid_event;
|
||||
#endif
|
||||
|
||||
return hid;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue