From: Valentine Barshak Date: Wed, 9 Jul 2008 18:02:34 +0000 (+1000) Subject: powerpc/44x: Adjust warp-nand resource end address X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c5402ba55e809f0b685f07728794ea27b197f33;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 e55746b824b4..89ecd76127d8 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, };