From: Mike Frysinger Date: Tue, 16 Mar 2010 14:28:44 +0000 (+0000) Subject: Blackfin: bf537-stamp: fix NAND resources X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=67d9963bd79b8f861387982ac5c0ff796f12be61;p=linux-beck.git Blackfin: bf537-stamp: fix NAND resources The NAND platform driver expects the registers to have a "mem" resource type rather than "io". Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9c83b52ff6bc..62c480e35276 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c @@ -418,7 +418,7 @@ static struct platform_nand_data bfin_plat_nand_data = { static struct resource bfin_plat_nand_resources = { .start = 0x20212000, .end = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), - .flags = IORESOURCE_IO, + .flags = IORESOURCE_MEM, }; static struct platform_device bfin_async_nand_device = {