summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-08-17 15:37:18 -0700
committerJiri Kosina <jkosina@suse.cz>2009-08-18 13:57:10 +0200
commit52cfc61bf95262d55bc00063d7597e5e008fa22e (patch)
tree39f1db471236497a4ffe916c7c90c06d911f0c8c /drivers/hid
parent4cfae3e80431fd113f0f4a8e1d4fff84aafe045c (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')
-rw-r--r--drivers/hid/usbhid/hid-core.c3
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)
wake_up(&usbhid->wait);
}
-void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir)
+static void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report,
+ unsigned char dir)
{
int head;
struct usbhid_device *usbhid = hid->driver_data;