diff options
author | Paul Walmsley <paul@booyaka.com> | 2007-04-19 14:37:44 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-04-19 14:37:44 +0200 |
commit | 8cef908235bcac898a4f4ccc50c781e08022a579 (patch) | |
tree | dbc08211a93498a60d3c6b4a3b367c61546a5dfd /include | |
parent | 8222fbe67cc6c83bb6d8d9d913aee17957fc0654 (diff) | |
download | op-kernel-dev-8cef908235bcac898a4f4ccc50c781e08022a579.zip op-kernel-dev-8cef908235bcac898a4f4ccc50c781e08022a579.tar.gz |
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 23e0dcf..4ba456d 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -496,6 +496,7 @@ void hid_free_device(struct hid_device *device); struct hid_device *hid_parse_report(__u8 *start, unsigned size); u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct); +int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, const u32 quirks); #ifdef CONFIG_HID_FF int hid_ff_init(struct hid_device *hid); |