diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-06-19 20:55:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:03 -0400 |
commit | e5760fdac8c8aeca060d1afc8a233ea3d7a46720 (patch) | |
tree | 2845c06bf7415f12cc52aff3ffe41dd28b22a7ec /drivers/usb/gadget/g_zero.h | |
parent | a400cadc0774c31f67c419a835d80ba611128c2a (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/g_zero.h')
-rw-r--r-- | drivers/usb/gadget/g_zero.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/g_zero.h b/drivers/usb/gadget/g_zero.h index 2781221b9469..dd2f16ad5a88 100644 --- a/drivers/usb/gadget/g_zero.h +++ b/drivers/usb/gadget/g_zero.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/usb/composite.h> | 9 | #include <linux/usb/composite.h> |
10 | 10 | ||
11 | /* global state */ | 11 | /* global state */ |
12 | extern unsigned buflen; | ||
12 | extern const struct usb_descriptor_header *otg_desc[]; | 13 | extern const struct usb_descriptor_header *otg_desc[]; |
13 | 14 | ||
14 | /* common utilities */ | 15 | /* common utilities */ |
@@ -19,5 +20,6 @@ void disable_endpoints(struct usb_composite_dev *cdev, | |||
19 | 20 | ||
20 | /* configuration-specific linkup */ | 21 | /* configuration-specific linkup */ |
21 | int sourcesink_add(struct usb_composite_dev *cdev); | 22 | int sourcesink_add(struct usb_composite_dev *cdev); |
23 | int loopback_add(struct usb_composite_dev *cdev); | ||
22 | 24 | ||
23 | #endif /* __G_ZERO_H */ | 25 | #endif /* __G_ZERO_H */ |