Skip to content

Commit

Permalink
CHROMIUM: usb: gadget: f_accessory: make acc_hid_raw_request 'static'
Browse files Browse the repository at this point in the history
In commit 1b02fbe the newly added
callback function wasn't set to 'static' by mistake. Set it now.

BUG=chrome-os-partner:49140
TEST=none

Change-Id: I827f3429e0a5e3b420abb0ef1f80fe1c113cd58d
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/322101
Reviewed-by: WK TSAI <wk.tsai@nvidia.com>
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
  • Loading branch information
Mark Kuo authored and chrome-bot committed Jan 15, 2016
1 parent e1e985d commit 7fb4fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/f_accessory.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ static void acc_hid_close(struct hid_device *hid)
{
}

int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum,
static int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum,
__u8 *buf, size_t len, unsigned char rtype, int reqtype)
{
return 0;
Expand Down

0 comments on commit 7fb4fb2

Please sign in to comment.