Skip to contentSkip to conversation

sh: fix sh7724 VEU3F resource size

PATCH In review Magnus Damm 2 participants 2 messages Dec 1, 2009 – Dec 4, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: fix sh7724 VEU3F resource size

From: Magnus Damm <[email protected]>

Fix one-off VEU3F size error for sh7724.

---

 arch/sh/kernel/cpu/sh4a/setup-sh7724.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/sh/kernel/cpu/sh4a/setup-sh7724.c +2 -2
@@ -204,7 +204,7 @@ static struct resource veu0_resources[] 
 	[0] = {
 		.name	= "VEU3F0",
 		.start	= 0xfe920000,
-		.end	= 0xfe9200cb - 1,
+		.end	= 0xfe9200cb,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
@@ -236,7 +236,7 @@ static struct resource veu1_resources[] 
 	[0] = {
 		.name	= "VEU3F1",
 		.start	= 0xfe924000,
-		.end	= 0xfe9240cb - 1,
+		.end	= 0xfe9240cb,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
#1 lore raw
Quoted 1 line · Magnus Damm

Fix one-off VEU3F size error for sh7724.

Quoted 3 lines · Magnus Damm

This patch updates the Runtime PM code for SuperH Mobile to allow drivers to have NULL as pm or callback value. With this in place there is no need for no-op functions.

Both applied, thanks.