aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@booyaka.com>2007-04-19 08:37:44 -0400
committerJiri Kosina <jkosina@suse.cz>2007-04-19 08:37:44 -0400
commit8cef908235bcac898a4f4ccc50c781e08022a579 (patch)
treedbc08211a93498a60d3c6b4a3b367c61546a5dfd /include/linux/hid.h
parent8222fbe67cc6c83bb6d8d9d913aee17957fc0654 (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/linux/hid.h')
-rw-r--r--include/linux/hid.h1
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);
496struct hid_device *hid_parse_report(__u8 *start, unsigned size); 496struct hid_device *hid_parse_report(__u8 *start, unsigned size);
497 497
498u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct); 498u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct);
499int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, const u32 quirks);
499 500
500#ifdef CONFIG_HID_FF 501#ifdef CONFIG_HID_FF
501int hid_ff_init(struct hid_device *hid); 502int hid_ff_init(struct hid_device *hid);