diff options
author | Tatyana Brokhman <tlinder@codeaurora.org> | 2011-06-28 09:33:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-28 14:14:37 -0400 |
commit | ea2a1df7b2b1de839a72217d85bfb4b7b049010c (patch) | |
tree | 89c10a2a18bba8a1d448b8b1f1281cf52b2287c6 /include/linux/usb/gadget.h | |
parent | 48767a4e8263620c347c3fa17812c943dd0fc2fa (diff) |
usb: gadget: use config_ep_by_speed() instead of ep_choose()
Remove obsolete functions:
1. ep_choose()
2. usb_find_endpoint()
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb/gadget.h')
-rw-r--r-- | include/linux/usb/gadget.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 0bcc2b76bcd8..d22b4a4936cb 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h | |||
@@ -879,12 +879,6 @@ int usb_gadget_config_buf(const struct usb_config_descriptor *config, | |||
879 | struct usb_descriptor_header **usb_copy_descriptors( | 879 | struct usb_descriptor_header **usb_copy_descriptors( |
880 | struct usb_descriptor_header **); | 880 | struct usb_descriptor_header **); |
881 | 881 | ||
882 | /* return copy of endpoint descriptor given original descriptor set */ | ||
883 | struct usb_endpoint_descriptor *usb_find_endpoint( | ||
884 | struct usb_descriptor_header **src, | ||
885 | struct usb_descriptor_header **copy, | ||
886 | struct usb_endpoint_descriptor *match); | ||
887 | |||
888 | /** | 882 | /** |
889 | * usb_free_descriptors - free descriptors returned by usb_copy_descriptors() | 883 | * usb_free_descriptors - free descriptors returned by usb_copy_descriptors() |
890 | * @v: vector of descriptors | 884 | * @v: vector of descriptors |