diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-08-17 18:37:18 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-08-18 07:57:10 -0400 |
commit | 52cfc61bf95262d55bc00063d7597e5e008fa22e (patch) | |
tree | 39f1db471236497a4ffe916c7c90c06d911f0c8c /drivers/hid/usbhid | |
parent | 4cfae3e80431fd113f0f4a8e1d4fff84aafe045c (diff) |
HID: local function should be static
__usbhid_submit_report() is a local function wrapped by the exported
symbol usbhid_submit_report(). As such, it should be static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jiri Kosina <jkosina@suse.cz>
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, 2 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 9238bcffaf01..25f38a5af269 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c | |||
@@ -489,7 +489,8 @@ static void hid_ctrl(struct urb *urb) | |||
489 | wake_up(&usbhid->wait); | 489 | wake_up(&usbhid->wait); |
490 | } | 490 | } |
491 | 491 | ||
492 | void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir) | 492 | static void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, |
493 | unsigned char dir) | ||
493 | { | 494 | { |
494 | int head; | 495 | int head; |
495 | struct usbhid_device *usbhid = hid->driver_data; | 496 | struct usbhid_device *usbhid = hid->driver_data; |