summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheshagiri Shenoy <sshenoy@nvidia.com>2011-07-07 16:00:02 -0700
committerManish Tuteja <mtuteja@nvidia.com>2011-07-11 02:42:45 -0700
commit5ea093ee500c814cd9c92e2dbb3e1c589b55eafe (patch)
tree38fd468bbcf69d5f154aa5f91c8b254a9ac86548
parent266d1b7397284505e55d06254b497cb32be07b69 (diff)
arm: tegra: whistler: enable usb rndis driver.
bug: 842809 Change-Id: I68f8a4c358c490c0b66ee55f49de460aced50139 Reviewed-on: http://git-master/r/40096 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
-rw-r--r--arch/arm/configs/tegra_whistler_android_defconfig1
-rw-r--r--arch/arm/mach-tegra/board-whistler.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/configs/tegra_whistler_android_defconfig b/arch/arm/configs/tegra_whistler_android_defconfig
index 0f9aaf85484b..c4eea54c33dd 100644
--- a/arch/arm/configs/tegra_whistler_android_defconfig
+++ b/arch/arm/configs/tegra_whistler_android_defconfig
@@ -281,6 +281,7 @@ CONFIG_USB_ANDROID=y
CONFIG_USB_ANDROID_ADB=y
CONFIG_USB_ANDROID_MASS_STORAGE=y
CONFIG_USB_ANDROID_MTP=y
+CONFIG_USB_ANDROID_RNDIS=y
CONFIG_USB_TEGRA_OTG=y
CONFIG_MMC=y
CONFIG_MMC_UNSAFE_RESUME=y
diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c
index 20df4779cfab..6ded1fabe1c4 100644
--- a/arch/arm/mach-tegra/board-whistler.c
+++ b/arch/arm/mach-tegra/board-whistler.c
@@ -719,6 +719,9 @@ static void whistler_codec_init(void)
static char usb_serial_num[SERIAL_NUMBER_LENGTH];
static void whistler_usb_init(void)
{
+ char *src = NULL;
+ int i;
+
tegra_usb_phy_init(tegra_usb_phy_pdata, ARRAY_SIZE(tegra_usb_phy_pdata));
tegra_otg_device.dev.platform_data = &tegra_otg_pdata;