Subject: [PATCH] PowerPC 44x: Adjust warp-nand resource end address

From: Valentine Barshak <[email-masked]>
Date: Wed, 9 Jul 2008 22:02:34 +0400

Adjust the NDFC resource end value (resource size = end - start + 1).

Signed-off-by: Valentine Barshak <[email-masked]>
---
 arch/powerpc/platforms/44x/warp-nand.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/platforms/44x/warp-nand.c	2008-07-01 20:39:07.000000000 +0400
+++ b/arch/powerpc/platforms/44x/warp-nand.c	2008-07-09 20:22:31.000000000 +0400
@@ -24,7 +24,7 @@
 
 static struct resource warp_ndfc = {
 	.start = WARP_NAND_FLASH_REG_ADDR,
-	.end   = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE,
+	.end   = WARP_NAND_FLASH_REG_ADDR + WARP_NAND_FLASH_REG_SIZE - 1,
 	.flags = IORESOURCE_MEM,
 };