usb: hide usb_mass_storage 2
authorlyx <lyx@rock-chips.com>
Sun, 19 Sep 2010 09:52:05 +0000 (02:52 -0700)
committerlyx <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]

old mode 100644 (file)
new mode 100755 (executable)
index d4a241d..5f386ac
@@ -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,