mirror of https://github.com/hak5/openwrt-owl.git
parent
28a4b28ce1
commit
62af6d98ac
|
@ -443,7 +443,7 @@ int __init init_adm5120_map(void)
|
||||||
parts = init_mtd_partitions(adm5120_mtd, size);
|
parts = init_mtd_partitions(adm5120_mtd, size);
|
||||||
|
|
||||||
for (i = 0; parts[i].name; i++);
|
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) {
|
if (ret) {
|
||||||
printk(KERN_ERR "Flash: add_mtd_partitions failed\n");
|
printk(KERN_ERR "Flash: add_mtd_partitions failed\n");
|
||||||
|
|
Loading…
Reference in New Issue