Fix indentation for add_mtd_partitions (#2072)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8068 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
35fce15e1e
commit
4261ab5ce2
|
@ -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