flash driver shows the correct chip size from now
SVN-Revision: 7971
This commit is contained in:
parent
e2b75c370e
commit
54e329087c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user