aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorFengguang Wu <wfg@mail.ustc.edu.cn>2007-12-07 03:35:14 -0500
committerJiri Kosina <jkosina@suse.cz>2008-01-28 08:51:22 -0500
commit70d215c4a7dfbddc138a2dd726d8f80f3e6d2622 (patch)
tree68e38ea2f3f0df7a51b73e6d150b74a780c67a6e /include/linux/hid.h
parentc4124c9b68bf8ecf1e8afedad3a22e18666cb6f3 (diff)
HID: the `bit' in hidinput_mapping_quirks() is an out parameter
Fix a panic, by changing hidinput_mapping_quirks(,, unsigned long *bit,) to hidinput_mapping_quirks(,, unsigned long **bit,) The `bit' in this function is an out parameter. Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 24f04cd742de..6a70b788ee9c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -526,7 +526,7 @@ extern void hidinput_disconnect(struct hid_device *);
526int hid_set_field(struct hid_field *, unsigned, __s32); 526int hid_set_field(struct hid_field *, unsigned, __s32);
527int hid_input_report(struct hid_device *, int type, u8 *, int, int); 527int hid_input_report(struct hid_device *, int type, u8 *, int, int);
528int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); 528int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field);
529int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long *, int *); 529int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long **, int *);
530void hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32); 530void hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
531int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32); 531int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32);
532void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); 532void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt);