mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
A22:set number of LUNS to one
This commit is contained in:
@@ -3030,6 +3030,7 @@ static void rk29_pm_power_off(void)
|
||||
while (1);
|
||||
}
|
||||
|
||||
extern struct usb_mass_storage_platform_data mass_storage_pdata;
|
||||
static void __init machine_rk29_board_init(void)
|
||||
{
|
||||
rk29_board_iomux_init();
|
||||
@@ -3040,6 +3041,8 @@ static void __init machine_rk29_board_init(void)
|
||||
pm_power_off = rk29_pm_power_off;
|
||||
//arm_pm_restart = rk29_pm_power_restart;
|
||||
|
||||
mass_storage_pdata.nluns = 1;//change number of LUNS
|
||||
|
||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||
#ifdef CONFIG_I2C0_RK29
|
||||
i2c_register_board_info(default_i2c0_data.bus_num, board_i2c0_devices,
|
||||
|
||||
Reference in New Issue
Block a user