]> Pileus Git - ~andy/linux/blobdiff - include/linux/hid.h
HID: export hidinput_calc_abs_res
[~andy/linux] / include / linux / hid.h
index c076041a069e88ee700e12d1bf5d3ca4b6f0a2eb..c6bef8f54a825684976ec019d0f1fbd0af79e4be 100644 (file)
@@ -706,6 +706,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);
 struct hid_field *hidinput_get_led_field(struct hid_device *hid);
 unsigned int hidinput_count_leds(struct hid_device *hid);
+__s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code);
 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);