]> git.baikalelectronics.ru Git - kernel.git/commit
HID: core: move the dynamic quirks handling in core
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Nov 2017 10:48:41 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Nov 2017 10:14:48 +0000 (11:14 +0100)
commit685f331f44ecbdece21806b56044760305f9f205
tree6eef3c995780949d8301f909023ceb8a1d91c729
parent7c8cd8c52c133b0872772c14152a64b3d962e1be
HID: core: move the dynamic quirks handling in core

usbhid has a list of dynamic quirks in addition to a list of static quirks.
There is not much USB specific in that, so move this part of the module
in core so we can have one central place for quirks.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-quirks.c [new file with mode: 0644]
drivers/hid/usbhid/Makefile
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/hid-quirks.c [deleted file]
include/linux/hid.h