diff options
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 5a969a137b85..342b4e639acb 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -436,7 +436,7 @@ struct hid_device { /* device report descriptor */ | |||
436 | /* hiddev event handler */ | 436 | /* hiddev event handler */ |
437 | void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, | 437 | void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, |
438 | struct hid_usage *, __s32); | 438 | struct hid_usage *, __s32); |
439 | 439 | void (*hiddev_report_event) (struct hid_device *, struct hid_report *); | |
440 | #ifdef CONFIG_USB_HIDINPUT_POWERBOOK | 440 | #ifdef CONFIG_USB_HIDINPUT_POWERBOOK |
441 | unsigned long pb_pressed_fn[NBITS(KEY_MAX)]; | 441 | unsigned long pb_pressed_fn[NBITS(KEY_MAX)]; |
442 | unsigned long pb_pressed_numlock[NBITS(KEY_MAX)]; | 442 | unsigned long pb_pressed_numlock[NBITS(KEY_MAX)]; |
@@ -492,6 +492,7 @@ extern int hidinput_connect(struct hid_device *); | |||
492 | extern void hidinput_disconnect(struct hid_device *); | 492 | extern void hidinput_disconnect(struct hid_device *); |
493 | 493 | ||
494 | int hid_set_field(struct hid_field *, unsigned, __s32); | 494 | int hid_set_field(struct hid_field *, unsigned, __s32); |
495 | int hid_input_report(struct hid_device *, int type, u8 *, int, int); | ||
495 | int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); | 496 | int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); |
496 | void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); | 497 | void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); |
497 | void hid_output_report(struct hid_report *report, __u8 *data); | 498 | void hid_output_report(struct hid_report *report, __u8 *data); |