patch-2.4.27 linux-2.4.27/include/linux/usb_gadget.h

Next file: linux-2.4.27/include/net/bluetooth/bluetooth.h
Previous file: linux-2.4.27/include/linux/usb_ch9.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/include/linux/usb_gadget.h linux-2.4.27/include/linux/usb_gadget.h
@@ -748,6 +748,15 @@
 int usb_gadget_config_buf(const struct usb_config_descriptor *config,
 	void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
 
+/*-------------------------------------------------------------------------*/
+
+/* utility wrapping a simple endpoint selection policy */
+
+extern struct usb_ep *usb_ep_autoconfig (struct usb_gadget *,
+			struct usb_endpoint_descriptor *) __init;
+
+extern void usb_ep_autoconfig_reset (struct usb_gadget *) __init;
+
 #endif  /* __KERNEL__ */
 
 #endif	/* __LINUX_USB_GADGET_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)