Skip to content

Commit

Permalink
HID: Add transport-driver callbacks to the hid_ll_driver struct
Browse files Browse the repository at this point in the history
Add raw_request and output_report callbacks to the hid_ll_driver struct.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Acked-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Frank Praznik authored and Jiri Kosina committed Jan 29, 2014
1 parent 4988abf commit cd4dc08
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/linux/hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,14 @@ struct hid_ll_driver {
struct hid_report *report, int reqtype);

int (*wait)(struct hid_device *hdev);
int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);

int (*raw_request) (struct hid_device *hdev, unsigned char reportnum,
__u8 *buf, size_t len, unsigned char rtype,
int reqtype);

int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len);

int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
};

#define PM_HINT_FULLON 1<<5
Expand Down

0 comments on commit cd4dc08

Please sign in to comment.