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:
7ab7ab9
)
[ARM] tegra: stingray: Fix RNDIS support
author
Mike Lockwood
<lockwood@android.com>
Tue, 1 Mar 2011 19:39:27 +0000
(11:39 -0800)
committer
Mike Lockwood
<lockwood@android.com>
Tue, 1 Mar 2011 19:39:27 +0000
(11:39 -0800)
The RNDIS driver must be the first interface on the list
Signed-off-by: Mike Lockwood <lockwood@android.com>
arch/arm/mach-tegra/board-stingray.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/board-stingray.c
b/arch/arm/mach-tegra/board-stingray.c
index 092c664d474de550ce86d7ac5ea4a0e1399df77c..25291e2a5d4413b564cea012ddf180ba18f7162c 100644
(file)
--- a/
arch/arm/mach-tegra/board-stingray.c
+++ b/
arch/arm/mach-tegra/board-stingray.c
@@
-255,11
+255,11
@@
static char *usb_functions_rndis[] = { "rndis" };
static char *usb_functions_rndis_adb[] = { "rndis", "adb" };
#endif
static char *usb_functions_all[] = {
-#ifdef CONFIG_USB_ANDROID_ACCESSORY
- "accessory",
-#endif
#ifdef CONFIG_USB_ANDROID_RNDIS
"rndis",
+#endif
+#ifdef CONFIG_USB_ANDROID_ACCESSORY
+ "accessory",
#endif
"mtp",
"adb"