projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db3262e
)
usb: gadget: accessory: Fix section mismatch (again)
author
Todd Poynor
<toddpoynor@google.com>
Wed, 28 Nov 2012 21:03:40 +0000
(13:03 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:57 +0000
(13:51 -0800)
create_bulk_endpoints should not be __init since it is called when
accessory is enabled.
Change-Id: Iac6e9f29d53c93760e926efd8e7603432632acb4
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/usb/gadget/f_accessory.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_accessory.c
b/drivers/usb/gadget/f_accessory.c
index 921db5a193d6c3e72473a0d385456d1a02c72003..a244265c114348a9568045e72977bc34e46804d2 100644
(file)
--- a/
drivers/usb/gadget/f_accessory.c
+++ b/
drivers/usb/gadget/f_accessory.c
@@
-482,7
+482,7
@@
static int acc_unregister_hid(struct acc_dev *dev, int id)
return 0;
}
-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)
{