DORMANTno replies

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

From: Valentine Barshak <hidden>
Date: 2008-07-09 18:04:57

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

Signed-off-by: Valentine Barshak <redacted>
---
 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,
 };
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help