Skip to content

Commit

Permalink
Reduce USB-functions of device to acm only
Browse files Browse the repository at this point in the history
  • Loading branch information
guhl committed Jun 27, 2011
1 parent 50da2db commit 351044f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-msm/board-vision.c
Expand Up @@ -181,8 +181,13 @@ static struct android_usb_platform_data android_usb_pdata = {
.manufacturer_name = "HTC",
.num_products = ARRAY_SIZE(usb_products),
.products = usb_products,
#ifdef CONFIG_USB_ANDROID_ACM
.num_functions = ARRAY_SIZE(usb_functions_acm),
.functions = usb_functions_acm,
#else
.num_functions = ARRAY_SIZE(usb_functions_all),
.functions = usb_functions_all,
#endif
};

static struct platform_device android_usb_device = {
Expand Down

0 comments on commit 351044f

Please sign in to comment.