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

Commit b54ebf5a authored by Benoit Goby's avatar Benoit Goby Committed by Amit Pundir
Browse files

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: default avatarBenoit Goby <benoit@android.com>
parent 3ce337c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{