From: Mike Lockwood Date: Sun, 7 Feb 2010 02:54:31 +0000 (-0500) Subject: USB: android: Use composite class driver for enabling and disabling functions X-Git-Tag: firefly_0821_release~9833^2~5^2~242 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5466a81f1d89563d8c3c68285d8f5ae5e20ba6c2;p=firefly-linux-kernel-4.4.55.git USB: android: Use composite class driver for enabling and disabling functions Signed-off-by: Mike Lockwood --- diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index ce7426be487d..72a1aab66214 100644 --- 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)