]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/gadget/g_zero.h
usb gadget zero: split out loopback config
[linux-2.6-omap-h63xx.git] / drivers / usb / gadget / g_zero.h
index 2781221b9469b0827e702e8f3072a16299e4c3fb..dd2f16ad5a888541da09071f83a7b963c59f962e 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/usb/composite.h>
 
 /* global state */
+extern unsigned buflen;
 extern const struct usb_descriptor_header *otg_desc[];
 
 /* common utilities */
@@ -19,5 +20,6 @@ void disable_endpoints(struct usb_composite_dev *cdev,
 
 /* configuration-specific linkup */
 int sourcesink_add(struct usb_composite_dev *cdev);
+int loopback_add(struct usb_composite_dev *cdev);
 
 #endif /* __G_ZERO_H */