summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Michelau <john.michelau@motorola.com>2010-11-08 18:05:37 -0600
committerBenoit Goby <benoit@android.com>2010-12-03 16:31:43 -0800
commit10a8f4d52e6260829374e304d091082bce5c2f7d (patch)
tree8d4584aefda26eafb876c4f542bf61f75b2c1907 /include
parent8da1d5c2542e4adcb45c4e77d876852a6e1d8a47 (diff)
usb: gadget: Multiple ACM gadget instances
- Added multiple ACM instance support in Android gadget - Fixed multiple instance naming issue in ACM function - Increased max instances from 4 to 8 Change-Id: I65f1b0be94da859bab7ec0ad7cd804b896c7c4c5 Signed-off-by: John Michelau <john.michelau@motorola.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/android_composite.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/android_composite.h b/include/linux/usb/android_composite.h
index ac09dcb71775..62e72e3bd2b6 100644
--- a/include/linux/usb/android_composite.h
+++ b/include/linux/usb/android_composite.h
@@ -88,6 +88,11 @@ struct usb_ether_platform_data {
const char *vendorDescr;
};
+/* Platform data for ACM driver. */
+struct acm_platform_data {
+ u8 num_inst;
+};
+
extern void android_register_function(struct android_usb_function *f);
extern void android_enable_function(struct usb_function *f, int enable);