Skip to content

Commit

Permalink
HID: local function should be static
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
H Hartley Sweeten authored and Jiri Kosina committed Aug 18, 2009
1 parent 4cfae3e commit 52cfc61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52cfc61

Please sign in to comment.