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>
This commit is contained in:
parent
d428b2ae73
commit
a1e00af15e
1 changed files with 1 additions and 1 deletions
|
@ -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 *in_desc,
|
||||||
struct usb_endpoint_descriptor *out_desc)
|
struct usb_endpoint_descriptor *out_desc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue