X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae505386e5e915bcd43f9f178f379da4a5df9cad..48b7bf6e3d5ac3401b76b6ffd569386d3a67074d:/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c diff --git a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c index 3abad32fa..ba36298b3 100644 --- a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c +++ b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c @@ -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");