mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-05 22:19:32 +01:00
parent
28a4b28ce1
commit
62af6d98ac
@ -443,7 +443,7 @@ int __init init_adm5120_map(void)
|
||||
parts = init_mtd_partitions(adm5120_mtd, size);
|
||||
|
||||
for (i = 0; parts[i].name; i++);
|
||||
ret = add_mtd_partitions(adm5120_mtd, parts, i);
|
||||
ret = add_mtd_partitions(adm5120_mtd, parts, i);
|
||||
|
||||
if (ret) {
|
||||
printk(KERN_ERR "Flash: add_mtd_partitions failed\n");
|
||||
|
Loading…
Reference in New Issue
Block a user