usb: gadget: Compilation warning fix
Subsystems (2)
PATCH 1/1 usb: gadget: Compilation warning fix
A compilation warning was added by the patch
"usb: gadget: use config_ep_by_speed() instead of ep_choose()". This patch fixed it.
Signed-off-by Tatyana Brokhman <[email protected]>
--- drivers/usb/gadget/storage_common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/gadget/storage_common.c +1 -1
@@ -494,7 +494,7 @@ static struct usb_descriptor_header *fsg_hs_function[] = { };/* Maxpacket and other transfer characteristics vary by speed. */ -static struct usb_endpoint_descriptor * +__maybe_unused static struct usb_endpoint_descriptor *fsg_ep_desc (struct usb_gadget *g,struct usb_endpoint_descriptor *fs,struct usb_endpoint_descriptor *hs) {
Signature · 5 lines
1.7.3.3 -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.