From 13da42d6d78b9b816ac4f0eb49462462431b2833 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 29 Jul 2011 07:16:32 +0800 Subject: cfi_flash: convert missing map_base Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/nor/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/nor/cfi_flash.c b/drivers/nor/cfi_flash.c index c995962e35..461b0e6e46 100644 --- a/drivers/nor/cfi_flash.c +++ b/drivers/nor/cfi_flash.c @@ -988,7 +988,7 @@ static int cfi_probe (struct device_d *dev) if (info->flash_id == FLASH_UNKNOWN) { printf ("## Unknown FLASH on Bank at 0x%08x - Size = 0x%08lx = %ld MB\n", - dev->map_base, info->size, info->size << 20); + dev->resource[0].start, info->size, info->size << 20); return -ENODEV; } -- cgit v1.2.3