* [PATCH] PowerPC 44x: Adjust warp-nand resource end address
@ 2008-07-09 18:02 Valentine Barshak
0 siblings, 0 replies; only message in thread
From: Valentine Barshak @ 2008-07-09 18:02 UTC (permalink / raw)
To: linuxppc-dev; +Cc: sr, smaclennan
Adjust the NDFC resource end value (resource size = end - start + 1).
Signed-off-by: Valentine Barshak <vbarshak@ru•mvista.com>
---
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,
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-09 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09 18:02 [PATCH] PowerPC 44x: Adjust warp-nand resource end address Valentine Barshak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox