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

Commit ba778b8c authored by Benoit Goby's avatar Benoit Goby Committed by Ruchi Kandoi
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 2c0fb4cf
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)
{