diff options
author | John Crispin <blogic@openwrt.org> | 2009-10-08 22:34:46 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2009-10-08 22:34:46 +0000 |
commit | 99839e84663452345d62418a28ae6f00dae180cd (patch) | |
tree | 4d66aa822a092620e0c09b9b1ff5369cecc1a4b4 /target/linux | |
parent | fe2eb2406d5600eb56d91c967a2d92c14eb6cc18 (diff) | |
download | master-187ad058-99839e84663452345d62418a28ae6f00dae180cd.tar.gz master-187ad058-99839e84663452345d62418a28ae6f00dae180cd.tar.bz2 master-187ad058-99839e84663452345d62418a28ae6f00dae180cd.zip |
flash size was reported incorrectly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18011 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c b/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c index 3a3569ac8a..ef256f90b3 100644 --- a/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c +++ b/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c @@ -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; } |