aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-30 19:53:56 -0400
committerJiri Kosina <jkosina@suse.cz>2008-04-22 05:34:58 -0400
commitabdff0f7749a6696ba2a4238b675cbc55abcdb7a (patch)
tree6bb90322f9d47a273f8619d8fce9505d31e299c9 /include/linux/hid.h
parentb54ec3c13cf77d21bab25d8bb117f642561fdf4f (diff)
HID: make hid_input_field and usbhid_modify_dquirk static
This patch makes the following needlessly global functions static: - hid-core.c:hid_input_field() - usbhid/hid-quirks.c:usbhid_modify_dquirk() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index cd526af12d7b..fe4ac31eced2 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -531,14 +531,12 @@ int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int
531int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long **, int *); 531int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long **, int *);
532int hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32); 532int hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
533int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32); 533int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32);
534void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt);
535void hid_output_report(struct hid_report *report, __u8 *data); 534void hid_output_report(struct hid_report *report, __u8 *data);
536void hid_free_device(struct hid_device *device); 535void hid_free_device(struct hid_device *device);
537struct hid_device *hid_parse_report(__u8 *start, unsigned size); 536struct hid_device *hid_parse_report(__u8 *start, unsigned size);
538 537
539/* HID quirks API */ 538/* HID quirks API */
540u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct); 539u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct);
541int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, const u32 quirks);
542int usbhid_quirks_init(char **quirks_param); 540int usbhid_quirks_init(char **quirks_param);
543void usbhid_quirks_exit(void); 541void usbhid_quirks_exit(void);
544void usbhid_fixup_report_descriptor(const u16, const u16, char *, unsigned, char **); 542void usbhid_fixup_report_descriptor(const u16, const u16, char *, unsigned, char **);