diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-07-15 13:10:10 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-07-31 04:24:08 -0400 |
commit | ddf64a3c03d4d68431146a0f1622844cc6cb6c22 (patch) | |
tree | 00bd77df13d86adce4d9c17d51a68fd4dfae1a44 /drivers/hid/usbhid | |
parent | 3366dd9fa887ebbda4872e9554f853eaeda764be (diff) |
HID: usbhid: make usbhid_set_leds() static
usbhid_set_leds() is only used inside of usbhid/hid-core.c so no need to
export it.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid')
-rw-r--r-- | drivers/hid/usbhid/hid-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 99418285222c..5482bf447688 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c | |||
@@ -857,7 +857,7 @@ static int hid_find_field_early(struct hid_device *hid, unsigned int page, | |||
857 | return -1; | 857 | return -1; |
858 | } | 858 | } |
859 | 859 | ||
860 | void usbhid_set_leds(struct hid_device *hid) | 860 | static void usbhid_set_leds(struct hid_device *hid) |
861 | { | 861 | { |
862 | struct hid_field *field; | 862 | struct hid_field *field; |
863 | int offset; | 863 | int offset; |
@@ -867,7 +867,6 @@ void usbhid_set_leds(struct hid_device *hid) | |||
867 | usbhid_submit_report(hid, field->report, USB_DIR_OUT); | 867 | usbhid_submit_report(hid, field->report, USB_DIR_OUT); |
868 | } | 868 | } |
869 | } | 869 | } |
870 | EXPORT_SYMBOL_GPL(usbhid_set_leds); | ||
871 | 870 | ||
872 | /* | 871 | /* |
873 | * Traverse the supplied list of reports and find the longest | 872 | * Traverse the supplied list of reports and find the longest |