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:
a076c9f
)
usb: hide usb_mass_storage 2
author
lyx
<lyx@rock-chips.com>
Sun, 19 Sep 2010 09:52:05 +0000
(
02:52
-0700)
committer
lyx
<lyx@rock-chips.com>
Sun, 19 Sep 2010 09:52:05 +0000
(
02:52
-0700)
nand flash user area is recognise as a usb device when connect to computer, we hide it now
arch/arm/mach-rk2818/devices.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/devices.c
b/arch/arm/mach-rk2818/devices.c
old mode 100644
(file)
new mode 100755
(executable)
index
d4a241d
..
5f386ac
--- a/
arch/arm/mach-rk2818/devices.c
+++ b/
arch/arm/mach-rk2818/devices.c
@@
-625,7
+625,7
@@
struct platform_device android_usb_device = {
};
static struct usb_mass_storage_platform_data mass_storage_pdata = {
- .nluns =
2
,
+ .nluns =
1
,
.vendor = "RockChip",
.product = "rk2818 sdk",
.release = 0x0100,