powerpc/44x: Adjust warp-nand resource end address
authorValentine Barshak <vbarshak@ru.mvista.com>
Wed, 9 Jul 2008 18:02:34 +0000 (04:02 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 5 Aug 2008 01:42:06 +0000 (21:42 -0400)
Adjust the NDFC resource end value (resource size = end - start + 1).

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/platforms/44x/warp-nand.c

index e55746b824b4a78ca08b336e3c613b3a41c96670..89ecd76127d892237c6d50796d064922a1ea5676 100644 (file)
@@ -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,
 };