Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17884e68 authored by Todd Poynor's avatar Todd Poynor Committed by Amit Pundir
Browse files

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: default avatarTodd Poynor <toddpoynor@google.com>
parent ea824504
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{