aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorFrank Praznik <frank.praznik@oh.rr.com>2014-01-22 13:49:41 -0500
committerJiri Kosina <jkosina@suse.cz>2014-01-29 08:23:41 -0500
commitcd4dc0821bc97947f25c8483a4aa0711bff8619a (patch)
tree1826a05101ca4d470d81d896e7d95e47850f3bc8 /include/linux/hid.h
parent4988abf1749241bc80600a6b3283d03898d2717c (diff)
HID: Add transport-driver callbacks to the hid_ll_driver struct
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>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 31b9d299ef6c..003cc8e89831 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -700,8 +700,14 @@ struct hid_ll_driver {
700 struct hid_report *report, int reqtype); 700 struct hid_report *report, int reqtype);
701 701
702 int (*wait)(struct hid_device *hdev); 702 int (*wait)(struct hid_device *hdev);
703 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
704 703
704 int (*raw_request) (struct hid_device *hdev, unsigned char reportnum,
705 __u8 *buf, size_t len, unsigned char rtype,
706 int reqtype);
707
708 int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len);
709
710 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
705}; 711};
706 712
707#define PM_HINT_FULLON 1<<5 713#define PM_HINT_FULLON 1<<5