usb gadget zero: split out loopback config
This splits the gadget zero "loopback" configuration into a standalone "configuration driver", building on the composite gadget framework code. It doesn't yet pull the original code out of gadget zero or update how that driver is built. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a400cadc07
commit
e5760fdac8
@@ -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 */
|
||||
|
Reference in New Issue
Block a user