1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 08:27:17 +03:00

[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
This commit is contained in:
juhosg 2007-07-13 16:15:10 +00:00
parent 188357d5dd
commit f703397c58

View File

@ -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", 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); map->bankwidth*8);
info->mtd->owner = THIS_MODULE; info->mtd->owner = THIS_MODULE;