Skip to content

Commit 2eb5dc3

Browse files
paul10mJiri Kosina
authored andcommitted
USB HID: encapsulate quirk handling into hid-quirks.c
Move the USB_VENDOR* and USB_DEVICE* defines and the hid_blacklist[] array there from hid-core.c. Add hid-quirks.c:usbhid_lookup_any_quirks() to return quirk information to hid-core.c. Convert __u32, __u16 types to u32, u16. Signed-off-by: Paul Walmsley <paul@booyaka.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 4d5a1be commit 2eb5dc3

4 files changed

Lines changed: 489 additions & 446 deletions

File tree

‎drivers/hid/usbhid/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# Multipart objects.
6-
usbhid-objs := hid-core.o
6+
usbhid-objs := hid-core.o hid-quirks.o
77

88
# Optional parts of multipart objects.
99

0 commit comments

Comments
 (0)