diff options
author | Paul Walmsley <paul@booyaka.com> | 2007-04-19 07:27:04 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-04-19 07:27:04 -0400 |
commit | 2eb5dc30eb87aa30f67e3dff39d5c9f3fb643260 (patch) | |
tree | 7912fc684270fccc07d66a419eb85e0edc83752f /include/linux/hid.h | |
parent | 4d5a1be98d8d40a7c558005d423b3daed8ba1ddb (diff) |
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>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index d73b24b1e265..23e0dcf8ec41 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -495,6 +495,8 @@ void hid_output_report(struct hid_report *report, __u8 *data); | |||
495 | void hid_free_device(struct hid_device *device); | 495 | void hid_free_device(struct hid_device *device); |
496 | struct hid_device *hid_parse_report(__u8 *start, unsigned size); | 496 | struct hid_device *hid_parse_report(__u8 *start, unsigned size); |
497 | 497 | ||
498 | u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct); | ||
499 | |||
498 | #ifdef CONFIG_HID_FF | 500 | #ifdef CONFIG_HID_FF |
499 | int hid_ff_init(struct hid_device *hid); | 501 | int hid_ff_init(struct hid_device *hid); |
500 | 502 | ||