flash size was reported incorrectly

SVN-Revision: 18011
v19.07.3_mercusys_ac12_duma
John Crispin 15 years ago
parent aaf52c0c7d
commit 151a1c789f

@ -244,7 +244,7 @@ static int ifxmips_mtd_probe(struct platform_device *dev)
add_mtd_partitions(ifxmips_mtd, &ifxmips_meta_partition, 1);
printk(KERN_INFO "ifxmips_mtd: added %s flash with %dMB\n",
ifxmips_map.name, ifxmips_mtd->size);
ifxmips_map.name, ((int)ifxmips_mtd->size) >> 20);
return 0;
}

Loading…
Cancel
Save