projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db5cd8
)
USB: android: Use composite class driver for enabling and disabling functions
author
Mike Lockwood
<lockwood@android.com>
Sun, 7 Feb 2010 02:54:31 +0000
(21:54 -0500)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:27 +0000
(17:49 -0700)
Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/android.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/android.c
b/drivers/usb/gadget/android.c
index ce7426be487d3dab601a34744c0a29a354889df3..72a1aab66214a1a502ffe9ec9ed2e4b3529b2c4f 100644
(file)
--- a/
drivers/usb/gadget/android.c
+++ b/
drivers/usb/gadget/android.c
@@
-299,6
+299,7
@@
static struct usb_composite_driver android_usb_driver = {
.dev = &device_desc,
.strings = dev_strings,
.bind = android_bind,
+ .enable_function = android_enable_function,
};
void android_register_function(struct android_usb_function *f)