projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d428b2a
)
usb: gadget: accessory: Fix section mismatch
author
Benoit Goby
<benoit@android.com>
Sat, 23 Jun 2012 01:17:10 +0000
(18:17 -0700)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:55 +0000
(13:51 -0800)
create_bulk_endpoints should not be __init since it is called when
accessory is enabled
Change-Id: If827a4531f0f6c15af938345163923186368e2a5
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/f_accessory.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/f_accessory.c
b/drivers/usb/gadget/f_accessory.c
index a5818227611a4bdb6eabde2e0cbbb3bc7942ddde..04ceb099656071ba328c2b9611a5cbb3cfac9649 100644
(file)
--- a/
drivers/usb/gadget/f_accessory.c
+++ b/
drivers/usb/gadget/f_accessory.c
@@
-296,7
+296,7
@@
static void acc_complete_set_string(struct usb_ep *ep, struct usb_request *req)
}
}
-static int
__init
create_bulk_endpoints(struct acc_dev *dev,
+static int create_bulk_endpoints(struct acc_dev *dev,
struct usb_endpoint_descriptor *in_desc,
struct usb_endpoint_descriptor *out_desc)
{