From: Valentine Barshak Date: Wed, 9 Jul 2008 18:02:34 +0000 (+1000) Subject: powerpc/44x: Adjust warp-nand resource end address X-Git-Tag: v2.6.27-rc3~56^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1c5402ba55e809f0b685f07728794ea27b197f33;p=linux-2.6-omap-h63xx.git powerpc/44x: Adjust warp-nand resource end address Adjust the NDFC resource end value (resource size = end - start + 1). Signed-off-by: Valentine Barshak Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/platforms/44x/warp-nand.c b/arch/powerpc/platforms/44x/warp-nand.c index e55746b824b..89ecd76127d 100644 --- a/arch/powerpc/platforms/44x/warp-nand.c +++ b/arch/powerpc/platforms/44x/warp-nand.c @@ -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, };