Skip to content

Commit

Permalink
USB HID: encapsulate quirk handling into hid-quirks.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Walmsley authored and Jiri Kosina committed Apr 19, 2007
1 parent 4d5a1be commit 2eb5dc3
Show file tree
Hide file tree
Showing 4 changed files with 489 additions and 446 deletions.
2 changes: 1 addition & 1 deletion drivers/hid/usbhid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# Multipart objects.
usbhid-objs := hid-core.o
usbhid-objs := hid-core.o hid-quirks.o

# Optional parts of multipart objects.

Expand Down
Loading

0 comments on commit 2eb5dc3

Please sign in to comment.