mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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