[PATCH 1/1] nhk8815: fix nand IO_DATA end resource

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Sep 3 02:24:54 EDT 2012


introduce in commit
5f03074ea98b64b55c133b35ee144fdc909e6d69
resource: store 'end' instead of 'size' in struct resource

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/boards/nhk8815/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/nhk8815/setup.c b/arch/arm/boards/nhk8815/setup.c
index ccc0510..5820114 100644
--- a/arch/arm/boards/nhk8815/setup.c
+++ b/arch/arm/boards/nhk8815/setup.c
@@ -63,7 +63,7 @@ static struct resource nhk8815_nand_resources[] = {
 		.flags	= IORESOURCE_MEM,
 	}, {
 		.start	= NAND_IO_DATA,
-		.end	= NAND_IO_CMD + 0xfff,
+		.end	= NAND_IO_DATA + 0xfff,
 		.flags	= IORESOURCE_MEM,
 	}
 };
-- 
1.7.10.4




More information about the barebox mailing list