diff options
author | Paul Walmsley <paul@booyaka.com> | 2007-04-19 08:37:44 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-04-19 08:37:44 -0400 |
commit | 8cef908235bcac898a4f4ccc50c781e08022a579 (patch) | |
tree | dbc08211a93498a60d3c6b4a3b367c61546a5dfd /include | |
parent | 8222fbe67cc6c83bb6d8d9d913aee17957fc0654 (diff) |
USB HID: add support for dynamically-created quirks
Add internal support for dynamically-allocated HID quirks, "dquirks"
(for "dynamic quirks"). Includes several functions to add/modify quirks
from the list. This code is used by the next patch to implement quirk
modification upon module load.
Signed-off-by: Paul Walmsley <paul@booyaka.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 23e0dcf8ec41..4ba456d71f6b 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -496,6 +496,7 @@ 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); | 498 | u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct); |
499 | int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, const u32 quirks); | ||
499 | 500 | ||
500 | #ifdef CONFIG_HID_FF | 501 | #ifdef CONFIG_HID_FF |
501 | int hid_ff_init(struct hid_device *hid); | 502 | int hid_ff_init(struct hid_device *hid); |