From 8f075bcc93ae3fd60ba9c8ce5c632d5cade8812b Mon Sep 17 00:00:00 2001 From: tytung Date: Fri, 13 Jan 2012 02:03:43 +0800 Subject: [PATCH] Revert "msm: htcleo: Add platform data for USB accessory function." This reverts commit bd27e2a76eee125cf406c43878ea4f47e9ed13c0. --- arch/arm/mach-msm/include/mach/htc_usb.h | 28 ------------------------ 1 file changed, 28 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/htc_usb.h b/arch/arm/mach-msm/include/mach/htc_usb.h index baac489d..21029f58 100644 --- a/arch/arm/mach-msm/include/mach/htc_usb.h +++ b/arch/arm/mach-msm/include/mach/htc_usb.h @@ -16,7 +16,6 @@ #ifdef CONFIG_USB_ANDROID #include -#include #ifdef CONFIG_ARCH_QSD8X50 void msm_hsusb_8x50_phy_reset(void); @@ -41,16 +40,6 @@ static char *usb_functions_rndis_adb[] = { }; #endif -#ifdef CONFIG_USB_ANDROID_ACCESSORY -static char *usb_functions_accessory[] = { - "accessory" -}; -static char *usb_functions_accessory_adb[] = { - "accessory", - "adb" -}; -#endif - #ifdef CONFIG_USB_ANDROID_PROJECTOR static char *usb_functions_projector[] = { "usb_mass_storage", @@ -127,9 +116,6 @@ static char *usb_functions_all[] = { #ifdef CONFIG_USB_ANDROID_RNDIS "rndis", #endif -#ifdef CONFIG_USB_ANDROID_ACCESSORY - "accessory", -#endif #ifdef CONFIG_USB_ANDROID_MTP "mtp", #endif @@ -239,20 +225,6 @@ static struct android_usb_product usb_products[] = { .functions = usb_functions_rndis_adb, }, #endif -#ifdef CONFIG_USB_ANDROID_ACCESSORY - { - .vendor_id = USB_ACCESSORY_VENDOR_ID, - .product_id = USB_ACCESSORY_PRODUCT_ID, - .num_functions = ARRAY_SIZE(usb_functions_accessory), - .functions = usb_functions_accessory, - }, - { - .vendor_id = USB_ACCESSORY_VENDOR_ID, - .product_id = USB_ACCESSORY_ADB_PRODUCT_ID, - .num_functions = ARRAY_SIZE(usb_functions_accessory_adb), - .functions = usb_functions_accessory_adb, - }, -#endif }; #endif