projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flash size was reported incorrectly
[openwrt.git]
/
target
/
linux
/
ifxmips
/
files
/
drivers
/
mtd
/
maps
/
ifxmips.c
diff --git
a/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c
b/target/linux/ifxmips/files/drivers/mtd/maps/ifxmips.c
index
3a3569a
..
ef256f9
100644
(file)
--- 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",
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;
}
return 0;
}
This page took
0.022734 seconds
and
4
git commands to generate.