]> Pileus Git - ~andy/linux/blobdiff - include/linux/hid.h
HID: usbhid: defer LED setting to a workqueue
[~andy/linux] / include / linux / hid.h
index 7f344c3da76708900f7608254d026193286cb842..999a54c72b2086070a13e6031b9442f67b8b9ece 100644 (file)
@@ -727,6 +727,8 @@ extern void hidinput_disconnect(struct hid_device *);
 int hid_set_field(struct hid_field *, unsigned, __s32);
 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);
+struct hid_field *hidinput_get_led_field(struct hid_device *hid);
+unsigned int hidinput_count_leds(struct hid_device *hid);
 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);