diff options
author | Tatyana Brokhman <tlinder@codeaurora.org> | 2011-06-30 01:44:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-01 17:45:44 -0400 |
commit | bc8687db894d537283b9e1e37806cca101185e56 (patch) | |
tree | f253b20ce7669fffaf75455f262b9e86d20fbda0 | |
parent | 5bf54506b036412e05e6ea0f000d627d775e7afc (diff) |
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 <tlinder@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/gadget/storage_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c index 1fa4f705b0b4..d3dd227a2bfc 100644 --- a/drivers/usb/gadget/storage_common.c +++ b/drivers/usb/gadget/storage_common.c | |||
@@ -494,7 +494,7 @@ static struct usb_descriptor_header *fsg_hs_function[] = { | |||
494 | }; | 494 | }; |
495 | 495 | ||
496 | /* Maxpacket and other transfer characteristics vary by speed. */ | 496 | /* Maxpacket and other transfer characteristics vary by speed. */ |
497 | static struct usb_endpoint_descriptor * | 497 | static __maybe_unused struct usb_endpoint_descriptor * |
498 | fsg_ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *fs, | 498 | fsg_ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *fs, |
499 | struct usb_endpoint_descriptor *hs) | 499 | struct usb_endpoint_descriptor *hs) |
500 | { | 500 | { |