diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-02-25 17:39:16 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-25 17:39:16 +0100 |
commit | 14ef2b0c026558d37662e5e095d59c64597d5769 (patch) | |
tree | 230c09cc65bc94384c687fed87e6ada954f80609 /include/linux/hid.h | |
parent | 57ab12e418ec4fe24c11788bb1bbdabb29d05679 (diff) | |
parent | 71b38bd4c1cc4f2b653064357e4efab77dfd711d (diff) | |
download | talos-obmc-linux-14ef2b0c026558d37662e5e095d59c64597d5769.tar.gz talos-obmc-linux-14ef2b0c026558d37662e5e095d59c64597d5769.zip |
Merge branches 'upstream', 'raw_report_modifications' and 'apple_magic_mouse' into for-linus
Conflicts:
drivers/hid/Kconfig
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 b978c1e2e74d..b1344ec4b7fc 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -501,7 +501,7 @@ struct hid_device { /* device report descriptor */ void (*hiddev_report_event) (struct hid_device *, struct hid_report *); /* handler for raw output data, used by hidraw */ - int (*hid_output_raw_report) (struct hid_device *, __u8 *, size_t); + int (*hid_output_raw_report) (struct hid_device *, __u8 *, size_t, unsigned char); /* debugging support via debugfs */ unsigned short debug; @@ -690,6 +690,7 @@ int hid_input_report(struct hid_device *, int type, u8 *, int, int); int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); void hid_output_report(struct hid_report *report, __u8 *data); struct hid_device *hid_allocate_device(void); +struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id); int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size); int hid_check_keys_pressed(struct hid_device *hid); int hid_connect(struct hid_device *hid, unsigned int connect_mask); |