From: Valentin Yakovenkov Date: Tue, 16 Mar 2010 13:01:50 +0000 (+0000) Subject: Blackfin: bf561-acvilon: fix NAND resources X-Git-Tag: v3.12-rc1~8403^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=657bb918d91d8e291f7c40e4a101c44b53fe25fa;p=kernel%2Fkernel-generic.git Blackfin: bf561-acvilon: fix NAND resources The NAND platform driver expects the registers to have a "mem" resource type rather than "io". Signed-off-by: Valentin Yakovenkov Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c index 35b6d12..0b1c20f 100644 --- a/arch/blackfin/mach-bf561/boards/acvilon.c +++ b/arch/blackfin/mach-bf561/boards/acvilon.c @@ -302,7 +302,7 @@ static struct platform_nand_data bfin_plat_nand_data = { static struct resource bfin_plat_nand_resources = { .start = 0x24000000, .end = 0x24000000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), - .flags = IORESOURCE_IO, + .flags = IORESOURCE_MEM, }; static struct platform_device bfin_async_nand_device = {