mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
ANDROID: 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:
committed by
Dmitry Shmidt
parent
3f9860a655
commit
ceb2f0aac6
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user