HID: Export hid_field_extract()
[firefly-linux-kernel-4.4.55.git] / include / linux / hid.h
index 176b43670e5da9f7de6c906a56dfb007f0b160cf..f17980de26629fbf65365047a0cfe8ce6034b53e 100644 (file)
@@ -815,6 +815,8 @@ void hid_disconnect(struct hid_device *hid);
 const struct hid_device_id *hid_match_id(struct hid_device *hdev,
                                         const struct hid_device_id *id);
 s32 hid_snto32(__u32 value, unsigned n);
+__u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
+                    unsigned offset, unsigned n);
 
 /**
  * hid_device_io_start - enable HID input during probe, remove