diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-07-13 16:15:10 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-07-13 16:15:10 +0000 |
commit | 4c6185f7abc59c0fb0e2b7c2e5b321ae48d60bee (patch) | |
tree | cfc6fad2cba3c2458825205ecf777439a7f6b8df /target | |
parent | 622fef001eaae565b510f2559347f18aca692f09 (diff) | |
download | upstream-4c6185f7abc59c0fb0e2b7c2e5b321ae48d60bee.tar.gz upstream-4c6185f7abc59c0fb0e2b7c2e5b321ae48d60bee.tar.bz2 upstream-4c6185f7abc59c0fb0e2b7c2e5b321ae48d60bee.zip |
[adm5120] flash driver shows the correct chip size from now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7971 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c index a60e6e54bc..021441521d 100644 --- a/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c +++ b/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120-flash.c @@ -485,7 +485,7 @@ static int adm5120_flash_probe(struct platform_device *dev) } MAP_INFO(map, "found at 0x%lX, size:%ldKiB, width:%d bits\n", - (unsigned long)map->phys, (unsigned long)map->size >> 10, + (unsigned long)map->phys, (unsigned long)info->mtd->size >> 10, map->bankwidth*8); info->mtd->owner = THIS_MODULE; |