mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 17:24:03 +02:00
flash size was reported incorrectly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18011 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9d03573661
commit
004d10fcc7
@ -244,7 +244,7 @@ static int ifxmips_mtd_probe(struct platform_device *dev)
|
|||||||
add_mtd_partitions(ifxmips_mtd, &ifxmips_meta_partition, 1);
|
add_mtd_partitions(ifxmips_mtd, &ifxmips_meta_partition, 1);
|
||||||
|
|
||||||
printk(KERN_INFO "ifxmips_mtd: added %s flash with %dMB\n",
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user