summaryrefslogtreecommitdiff
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2021-12-10 14:11:37 +0300
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2021-12-14 12:08:45 +0300
commit5904a3f9d756f108279f8c5b8f17ca6ddfb28d24 (patch)
tree9734dc75a997782731fb2d25348cf581b5afe441 /include/linux/hid.h
parentae7fafa6896ae762ff489a5e71c8e5fabfeb61ee (diff)
downloadlinux-5904a3f9d756f108279f8c5b8f17ca6ddfb28d24.tar.xz
HID: input: Make hidinput_find_field() static
This function is not called outside of hid-input.c so we can make it static. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20211210111138.1248187-5-tero.kristo@linux.intel.com
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index fa2ddda84a53..ff8b6973022a 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -899,7 +899,6 @@ 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 *, u32, 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);