diff options
author | Benoit Goby <benoit@android.com> | 2012-06-22 18:17:10 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-19 13:09:09 -0700 |
commit | 3711c313725547fc44644d5e4090bb8c6d700d3e (patch) | |
tree | 2ea42845e5e2366ee61c57f5cd393576580ea981 | |
parent | f70957a79b9a09ef6418583fe0d74a532b5a5dc7 (diff) |
usb: gadget: accessory: Fix section mismatch
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>
-rw-r--r-- | drivers/usb/gadget/f_accessory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_accessory.c b/drivers/usb/gadget/f_accessory.c index a5818227611a..04ceb0996560 100644 --- 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) { |