ANDROID: usb: gadget: accessory: Fix section mismatch (again)
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>
This commit is contained in:
committed by
Dmitry Shmidt
parent
34a37f82d7
commit
4ce5e656ae
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user